Render .Content on series pages

This commit is contained in:
Eryn Wells 2023-02-05 10:06:58 -08:00
parent b5768770de
commit 202d8177be
2 changed files with 20 additions and 3 deletions

View file

@ -386,11 +386,22 @@ main {
}
main > :first-child,
main > article > :first-child { margin-block-start: 0; }
main > article > :first-child,
main > section > :first-child {
margin-block-start: 0;
}
main > :not(:last-child),
main > article > :not(:last-child) { margin-block-end: var(--body-item-spacing); }
main > article > :not(:last-child),
main > section > :not(:last-child) {
margin-block-end: var(--body-item-spacing);
}
main > :last-child,
main > article > :last-child { margin-block-end: 0; }
main > article > :last-child,
main > section > :last-child {
margin-block-end: 0;
}
nav.bulleted > li:first-child::before {
color: var(--html-color);

View file

@ -7,6 +7,12 @@
<h1>{{ .Title }}</h1>
</header>
{{ with .Content }}
<section>
{{ . }}
</section>
{{ end }}
<ul>
{{- range .Pages -}}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>