Modifie l’agencement des onglets

This commit is contained in:
Gregory Trolliet 2025-02-02 21:45:08 +01:00
parent b20b81e79e
commit f445c8588d
90 changed files with 356 additions and 152 deletions

13
layouts/cinema/li.html Normal file
View file

@ -0,0 +1,13 @@
<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>
<span class="year">{{ .PublishDate.Format "2006" }}</span>
<span class="more">&rarr; plus d'infos</span>
</div>
</a>