mirror of
https://github.com/caressofsteel/hugo-story.git
synced 2025-09-06 03:52:57 +02:00
adding template support for gallery
This commit is contained in:
12
layouts/partials/picture.html
Normal file
12
layouts/partials/picture.html
Normal 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>
|
Reference in New Issue
Block a user