diff options
-rw-r--r-- | design/sass/_photos.scss | 2 | ||||
-rw-r--r-- | design/templates/details/photo_gallery.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/design/sass/_photos.scss b/design/sass/_photos.scss index 00a8efd..c0f51ef 100644 --- a/design/sass/_photos.scss +++ b/design/sass/_photos.scss @@ -133,7 +133,7 @@ margin-right: 1em; } .figcaption--date { - margin-top: 4px; + margin-top: 2px; } .caption .map-link { @include smcaps; diff --git a/design/templates/details/photo_gallery.html b/design/templates/details/photo_gallery.html index d34f4e4..73b1d25 100644 --- a/design/templates/details/photo_gallery.html +++ b/design/templates/details/photo_gallery.html @@ -28,11 +28,11 @@ <article id="image-{{forloop.counter}}"> <h6><a href="#image-{{forloop.counter}}" class="permalink" title="link to this image">∞ {{forloop.counter|number_to_word}} ∞</a></h6> <figure class="fig"> - <img sizes="(max-width: 960px) 100vw" + <a href="{% get_image_size photo "original" %}"><img sizes="(max-width: 960px) 100vw" srcset="{% get_image_size photo "small" %} 720w, {% get_image_size photo "medium" %} 1140w, {% get_image_size photo "large" %} 2280w," - src="{% get_image_size photo "medium" %}" alt="{{photo.title}}" {%if photo.is_portait %}class="v"{%endif%} > + src="{% get_image_size photo "medium" %}" alt="{{photo.title}}" {%if photo.is_portait %}class="v"{%endif%} ></a> <figcaption class="figcaption"> <div class="caption" id="id-{{photo.id}}"> <h3 class="figcaption--title">{{photo.title}}</h3> |