hugo-theme-anubis2/layouts/taxonomy/category.html
Dmitry Kolosov 4495f31d48 Fix more tag
2020-01-27 23:05:33 +03:00

31 lines
877 B
HTML

{{ define "main" }}
<h1>{{ i18n "category" | humanize }}: {{ .Title }}</h1>
<div class="article-info">
<a href="/categories/">{{ i18n "toAllCategories" | humanize }}</a>
</div>
{{ range .Data.Pages }}
<article class="post-list">
<header>
<h1>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h1>
</header>
<div class="article-info">
{{ if .Params.date }}
<div class="article-date">{{ .Params.date.Format "2006-01-02" }}</div>
{{ end }}
</div>
<div class="content">
{{ .Summary }}
</div>
{{ if .Truncated }}
<div class="read-more">
<a href="{{ .RelPermalink }}">{{ i18n "readMore" | humanize }}</a>
</div>
{{ end }}
</article>
{{ end }}
{{ end }}