website/themes/hugo-theme-wave/layouts/_default/summary.html

27 lines
950 B
HTML
Raw Permalink Normal View History

2020-01-12 14:14:15 +01:00
<article class="archive-article archive-type-post">
2020-02-09 12:20:47 +01:00
<div class="archive-article-inner">
2020-01-12 14:14:15 +01:00
2020-02-09 12:20:47 +01:00
<div class="archive-article-thumbnail">
2020-01-12 14:14:15 +01:00
2020-02-09 12:20:47 +01:00
{{ if isset .Params "banner" }}
<a href="{{ .Permalink }}" class="thumbnail">
2022-08-08 21:00:45 +02:00
<span style="background-image:url({{ .Site.BaseURL }}/{{ .Params.banner }})" alt="{{ .Title }}"
class="thumbnail-image"></span>
2020-02-09 12:20:47 +01:00
</a>
{{ else }}
<a href="{{ .Permalink }}" class="thumbnail">
<span class="thumbnail-image thumbnail-none"></span>
</a>
{{ end }}
2020-01-12 14:14:15 +01:00
</div>
2020-02-09 12:20:47 +01:00
<header class="archive-article-header">
<h1 itemprop="name">
<a class="archive-article-title" href="{{ .Permalink }}">{{ .Title }}</a>
</h1>
<div class="archive-article-date">
<!--<i class="fa fa-calendar"></i>-->
<time datetime="{{ .Date }}" itemprop="datePublished">{{ .Date.Format "2006-01-02" }}</time>
</div>
</header>
</div>
</article>