hugo_frigg/layouts/archives/li.html

14 lines
501 B
HTML
Raw Normal View History

2021-10-26 11:34:30 +02:00
<a class="archive hidden_link" href="{{ .Params.ExternalLink | default .RelPermalink }}">
{{ $thumb := $.Page.Resources.GetMatch "thumb.jpg"}}
{{ if $thumb }}
<img class="thumbnail" src="{{ .RelPermalink }}thumb.jpg" />
{{ else }}
<img class="thumbnail" src="/images/thumb.jpg" />
{{ end }}
<div class="description">
<span class="title">{{ .Title }}</span>
2023-09-09 08:29:27 +02:00
<span class="year">{{ .PublishDate.Format "2006" }}</span>
<span class="more">&rarr; plus d'infos</span>
</div>
2021-10-26 11:34:30 +02:00
</a>