mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-14 18:58:30 +00:00
6 lines
238 B
HTML
6 lines
238 B
HTML
|
{{- $img := ( .page.Resources.ByType "image").GetMatch "thumbnail.*" }}
|
||
|
{{- with $img }}
|
||
|
<figure class="post__thumbnail thumbnail">
|
||
|
<img class="thumbnail__img" src="{{ $img.RelPermalink }}" alt="{{ $img.Title }}">
|
||
|
</figure>
|
||
|
{{- end }}
|