2023-05-29 21:37:18 +00:00
|
|
|
{{ define "main" }}
|
|
|
|
<article>
|
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
|
|
|
|
<div id="content">
|
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p class="authors">
|
2023-05-31 17:15:21 +00:00
|
|
|
{{ delimit ($.Param "authors") ", " }}
|
2023-05-29 21:37:18 +00:00
|
|
|
</p>
|
|
|
|
</article>
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
<h2>Posts</h2>
|
|
|
|
<ul>
|
|
|
|
{{ range .Pages }}
|
|
|
|
<li>
|
|
|
|
<p>
|
|
|
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
|
|
|
{{ $dateTime := .PublishDate.Format "2006-01-02" }}
|
|
|
|
—
|
|
|
|
<time datetime="{{ $dateTime }}">
|
|
|
|
{{ $dateTime }}
|
|
|
|
</time>
|
|
|
|
<br />
|
|
|
|
{{ .Description }}
|
|
|
|
</p>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|