Testing phugo as theme
This commit is contained in:
5
layouts/shortcodes/photo.html
Normal file
5
layouts/shortcodes/photo.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<article class="thumb">
|
||||
<a href="{{ .Get "full" }}" class="image"><img src="{{ .Get "thumb" }}" alt="{{ .Get "alt" }}" /></a>
|
||||
<h2>{{ .Get "phototitle" }}</h2>
|
||||
<p>{{ .Get "description" | markdownify }}</p>
|
||||
</article>
|
||||
Reference in New Issue
Block a user