jakstys.lt/themes/default/layouts/_default/section.html

18 lines
414 B
HTML
Raw Normal View History

{{ define "main" -}}
<div>
<h1>{{ .Title }}</h1>
</div>
<div>
{{ .Content -}}
</div>
<ul class="article-list">
{{ range .Paginator.Pages -}}
<li class="article-item">
<div class="article-date">{{ .Date.Format (.Site.Params.dateFormat | default "2006-01-02 15:04") }}</div>
<div class="article-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></div>
</li>
{{ end -}}
</ul>
</main>
{{ end }}