yequari.com/layouts/blog/list.html

23 lines
791 B
HTML
Raw Permalink Normal View History

{{ define "main" }}
<h1>{{ .Title }}</h1>
<section class="content posts h-feed hfeed">
{{ range .Paginator.Pages.ByPublishDate.Reverse }}
<article class="h-entry">
<h2><a class="title u-url p-name" href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
{{ partial "post-header.html" .}}
{{ if .Params.Subtitle }}<p class="subtitle">{{ .Params.Subtitle }}</p>{{ end }}
<p class="summary">
{{ .Summary }}{{ if .Truncated }}...{{ end }}
</p>
</article>
{{ end }}
</section>
{{ template "_internal/pagination.html" . }}
{{ end }}
{{ define "sidebar" }}
<!-- {{- partial "blog-sidebar.html" . -}} -->
<!-- <h3>See Posts From</h3> -->
<!-- {{- partial "posts-by-year.html" . -}} -->
<!-- {{- partial "sidebar.html" . -}} -->
{{ end }}