Browse Source

Images now link to post

master
The Dod 1 year ago
parent
commit
0936fa86f5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      templates/index.html

+ 1
- 1
templates/index.html View File

24
               {% if entry.images %}
24
               {% if entry.images %}
25
                 <ul class="list-group h-100">
25
                 <ul class="list-group h-100">
26
                   {% for image in entry.images %}
26
                   {% for image in entry.images %}
27
-                    <li class="list-group-item"><a target="_blank" href="{{image.url}}"><img class="w-100" src="{{image.url}}" alt="{{image.media_description}}" /></a></li>
27
+                    <li class="list-group-item"><a target="_blank" href="{{entry.link}}"><img class="w-100" src="{{image.url}}" alt="{{image.media_description}}" /></a></li>
28
                   {% endfor %}
28
                   {% endfor %}
29
                 </ul>
29
                 </ul>
30
               {% endif %}
30
               {% endif %}

Loading…
Cancel
Save