summaryrefslogtreecommitdiff
path: root/design/templates/archives/projects.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2016-11-04 11:58:12 -0400
committerluxagraf <sng@luxagraf.net>2016-11-04 11:58:12 -0400
commit090e60b6d8a435fe5bf2df6574f692e69830dbc0 (patch)
tree06444cfc0b87bf5b2d75470a83e01da73d74fbc8 /design/templates/archives/projects.html
parent6df481fbf7e119a74ce27f725590d0845c32d03c (diff)
fixed some issues with projects page and archived photo galleries
Diffstat (limited to 'design/templates/archives/projects.html')
-rw-r--r--design/templates/archives/projects.html2
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&nbsp;&#8674;</a></p>