diff options
author | luxagraf <sng@luxagraf.net> | 2016-01-02 22:44:19 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-01-02 22:44:19 -0500 |
commit | 2d5330c638f2413610b09f2b853a6e5320d103d9 (patch) | |
tree | ac77dc74f6df65be5bc2fdab9d1335bb5202b08a | |
parent | c5f16254a7af6c783d51823108e7c53d87e0b377 (diff) |
added link to download original image and fixed a spacing bug in photo
dateline
-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> |