add anchor

main
Steve Ayerhart 2022-02-23 16:18:23 -05:00
parent b6180a4502
commit 91fc3caa4c
No known key found for this signature in database
GPG Key ID: 5C815FDF3A00B8BA
1 changed files with 5 additions and 3 deletions

View File

@ -11,9 +11,11 @@
poster="<%= media_item.thumbnail_url %>"/>
</video>
<% else %>
<img class="gallery-image"
src="<%= media_item.media_url %>"
alt="<%= media_item.caption %>"/>
<a href="<%= media_item.media_url %>">
<img class="gallery-image"
src="<%= media_item.media_url %>"
alt="<%= media_item.caption %>"/>
</a>
<% end %>
</li>
<% end %>