rootdo/themes/risotto/layouts/post/list.html
2024-10-04 12:44:59 +00:00

26 lines
776 B
HTML

{{ define "main" }}
<header class="content__header">
<h1>{{ .Title | markdownify }} - In chronological order, newest first</h1>
{{ .Content }}
</header>
{{ range .Pages }}
<!-- <span class="date">{{ .Date.Format "2 January 2006" }}</span> -->
<article class="post">
<header class="post__header">
<h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
<!-- <p class="post__meta">
{{ .Params.author }},
</p> -->
</header>
<!-- <section class="post__summary">
{{ .Summary }}
</section> -->
</article>
{{ end }}
{{ end }}
{{define "aside" }}
{{ if .Params.description }}<p>{{ .Params.description }}</p>{{ end }}
{{ end }}