hugo-theme-paradox/layouts/_default/list.html

27 lines
714 B
HTML
Raw Permalink Normal View History

2022-10-11 09:54:07 +00:00
{{ define "main" }}
<main>
<header class="section page-header">
<div class="container">
<h1 class="page-title">{{ .Title }}</h1>
{{ partial "i18nlist.html" . }}
</div>
</header>
<section class="section list">
<div class="container">
{{ range .Pages }}
<article class="list-item">
<a class="list-item__link" href="{{ .Permalink }}">
{{ with .Params.cover }}
<img class="list-item__image" src="{{.}}">
{{end}}
<h2 class="list-item__title">{{ .Title }}</h2>
</a>
<p class="list-item__summary">{{.Summary}}</p>
2022-10-25 23:12:18 +00:00
<datetime class="list-item__date">{{ .Lastmod.Format "January 2, 2006" }}</datetime>
2022-10-11 09:54:07 +00:00
</article>
{{ end }}
</div>
</section>
</main>
2022-10-25 23:12:18 +00:00
{{ end }}