kozmo-dark/layouts/_default/section.html

36 lines
801 B
HTML
Raw Permalink Normal View History

2018-04-08 23:00:39 +02:00
{{ partial "header.html" . }}
2018-04-09 00:35:28 +02:00
{{ if ne (len .Content) 0 }}
<div id="content">
{{ .Content }}
</div>
{{ else }}
2018-04-08 23:00:39 +02:00
<div id="content">
{{ range sort .Paginator.Pages }}
<div id="paginator-page">
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<div class="content">
{{ .Summary | plainify | safeHTML }}
...
<div id="paginator-page-footer">
{{ if not .Date.IsZero }}
<p class="timestamp">{{ .Date.Format "2006-01-02" }}</p>
{{ end }}
<div id="paginator-page-button">
<a href="{{ .Permalink }}">{{ i18n "readMore" }}</a>
</div>
</div>
</div>
</div>
{{ if .Params.tags }}
{{ partial "tags" .Params.tags }}
{{ end }}
{{ end }}
{{ partial "pagination.html" . }}
</div>
{{ end }}
{{ partial "footer.html" . }}