mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-25 08:22:19 +00:00
John Bowdre
fda4f76103
- support new posts path (732c6c1
(move posts from content/post to
content/posts, 2023-08-15))
- remove author info
- ensure vertical space between entries
22 lines
593 B
HTML
22 lines
593 B
HTML
{{ define "main" }}
|
|
<header class="content__header">
|
|
<h1>{{ .Title | markdownify }}</h1>
|
|
{{ .Content }}
|
|
</header>
|
|
|
|
{{ range .Pages }}
|
|
<article class="post">
|
|
<header class="post__header">
|
|
<h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
|
<p class="post__meta">
|
|
<span class="date">{{ .Date.Format "2 January 2006" }}</span>
|
|
</p>
|
|
</header>
|
|
|
|
<section class="post__summary">
|
|
{{ .Summary }}
|
|
</section>
|
|
<br>
|
|
</article>
|
|
{{ end }}
|
|
{{ end }}
|