mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-14 12:25:58 -06:00
30 lines
720 B
HTML
30 lines
720 B
HTML
{{ define "main" }}
|
|
<h1>
|
|
{{ if eq .Data.Singular "tag" }}
|
|
{{ partial "icon.html" "tag" }}
|
|
{{ else }}
|
|
{{ partial "icon.html" "filter" }}
|
|
{{ end }}
|
|
|
|
{{ .Title | markdownify }}
|
|
{{ partial "rss-link.html" . }}
|
|
</h1>
|
|
|
|
{{ partial "description-or-summary.html" . }}
|
|
<div class="page-list">
|
|
{{ with .Paginator.Pages }}
|
|
<ul>
|
|
{{ range . }}
|
|
<li>{{ .Render "summary/post" }}</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ else }}
|
|
<div>
|
|
{{ i18n "no_posts" }}
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
|
|
{{ partial "pagination.html" . }}
|
|
{{ end }}
|