diff options
Diffstat (limited to 'design/templates/archives')
-rw-r--r-- | design/templates/archives/projects.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/archives/projects.html b/design/templates/archives/projects.html index 62cca22..5918feb 100644 --- a/design/templates/archives/projects.html +++ b/design/templates/archives/projects.html @@ -18,7 +18,7 @@ <li> <h1><a href="{{object.get_absolute_url}}" title="{{object.title}}">{{object.title|safe}} {{object.subtitle|safe}}</a></h1> <div class="img"> - <a href="{{object.get_absolute_url}}" title="{{object.title}}"><img src="{{object.get_project_image}}" alt="{{ object.title }}" class="post-image" /></a> + <a href="{{object.get_absolute_url}}" title="{{object.title}}"><img sizes="(max-width: 640px) 100vw, (min-width: 641px) 640px" srcset="{{object.get_project_image|slice:"0:-4"}}_lg.jpg 1280w" src="{{object.get_project_image}}" alt="{{ object.title }}" class="post-image" /></a> </div> <div class="hyphenate">{{object.lede|safe|smartypants}}</div> <p class="projects--button"><a href="{{object.get_absolute_url}}">Explore ⇢</a></p> |