Make the method to define image pages more generic

This commit is contained in:
Zoey 2023-05-28 14:30:43 -07:00
parent e755173d39
commit b5d44862a2
6 changed files with 427 additions and 292 deletions

View file

@ -14,7 +14,7 @@
<a href="./{{next}}">Next page</a>
{{/if}}
<div class="images-list">
{{#each images}}
{{#each resources}}
<a class="image" href="/i/{{id}}">
<img class="image-actual" src="{{src}}" alt="{{alt}}">
<span class="title">{{title}}</span>