13 lines
468 B
HTML
13 lines
468 B
HTML
<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>
|
|
<p>{{ .Description }}</p>
|
|
<span class="more">→ plus d'infos</span>
|
|
</div>
|
|
</a>
|