Render .Content on series pages
This commit is contained in:
parent
b5768770de
commit
202d8177be
2 changed files with 20 additions and 3 deletions
|
@ -386,11 +386,22 @@ main {
|
||||||
}
|
}
|
||||||
|
|
||||||
main > :first-child,
|
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 > :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 > :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 {
|
nav.bulleted > li:first-child::before {
|
||||||
color: var(--html-color);
|
color: var(--html-color);
|
||||||
|
|
|
@ -7,6 +7,12 @@
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
{{ with .Content }}
|
||||||
|
<section>
|
||||||
|
{{ . }}
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
{{- range .Pages -}}
|
{{- range .Pages -}}
|
||||||
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue