hugo-theme-anubis2/layouts/taxonomy/category.html

27 lines
796 B
HTML
Raw Normal View History

2020-01-27 20:38:45 +01:00
{{ define "main" }}
<h1>{{ i18n "category" | humanize }}: {{ .Title }}</h1>
<div class="article-info">
2020-05-24 18:07:02 +02:00
<a href="{{ "categories/" | absLangURL }}">{{ i18n "toAllCategories" | humanize }}</a>
2020-01-27 20:38:45 +01:00
</div>
{{ range .Data.Pages }}
<article class="post-list">
<header>
<h1>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h1>
</header>
2020-06-03 22:26:07 +02:00
<div class="content post-summary">
{{ .Summary | safeHTML }}
2020-02-02 16:01:10 +01:00
</div>
{{ partial "articleInfoDate.html" . }}
2020-02-02 16:01:10 +01:00
<!-- {{ if .Truncated }}
2020-01-27 21:05:33 +01:00
<div class="read-more">
<a href="{{ .RelPermalink }}">{{ i18n "readMore" | humanize }}</a>
</div>
2020-02-02 16:01:10 +01:00
{{ end }} -->
2020-01-27 20:38:45 +01:00
</article>
{{ end }}
{{ end }}