2020-01-27 20:38:45 +01:00
|
|
|
{{ define "main" }}
|
|
|
|
|
|
|
|
<h1>{{ i18n "category" | humanize }}: {{ .Title }}</h1>
|
|
|
|
<div class="article-info">
|
2020-02-18 18:52:31 +01:00
|
|
|
<a href="{{ "categories/" | absURL }}">{{ 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-02-02 16:01:10 +01:00
|
|
|
<div class="content">
|
|
|
|
{{ .Summary }}
|
|
|
|
</div>
|
2020-02-18 18:52:31 +01:00
|
|
|
{{ 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 }}
|