swap to tera in place of handlebars

This commit is contained in:
zyl 2024-11-04 17:09:11 -08:00
parent 76c75a40d9
commit ee48eae327
Signed by: zyl
SSH key fingerprint: SHA256:uxxbSXbdroP/OnKBGnEDk5q7EKB2razvstC/KmzdXXs
25 changed files with 407 additions and 184 deletions

View file

@ -1,23 +0,0 @@
{{#if tag}}
<h1>images tagged {{tag}}</h1>
<p><a href="/images/">view all images</a></p>
{{else}}
<h1>images</h1>
<p><a href="/i/tags">view image tags</a></p>
<p><a href="rss.xml">rss feed</a></p>
{{/if}}
<h3>page {{page}}/{{page_max}}</h3>
{{#if previous}}
<a href="./{{previous}}">previous page</a>
{{/if}}
{{#if next}}
<a href="./{{next}}">next page</a>
{{/if}}
<div class="images-list">
{{#each resources}}
<a class="image" href="/i/{{id}}">
<img class="image-actual" src="{{cdn_file}}" alt="{{alt}}">
<span class="title">{{title}}</span>
</a>
{{/each}}
</div>