adding template support for gallery

This commit is contained in:
mspnr
2021-01-31 17:57:51 +01:00
parent 22dabfe0c2
commit 459291f0f2
4 changed files with 103 additions and 156 deletions

View File

@ -0,0 +1,12 @@
<article>
<a href="{{ .image }}" class="image">
<img src="{{ .thumb }}" alt="" />
</a>
<div class="caption">
<h3>{{ .title }}</h3>
<p>{{ .content }}</p>
<ul class="actions fixed">
<li><span class="button small">{{ .button }}</span></li>
</ul>
</div>
</article>