This commit is contained in:
Madison Scott-Clary
2019-08-11 21:13:27 -07:00
parent 3fd1ef3ea5
commit 37afe3253e
16 changed files with 485 additions and 4 deletions

View File

@ -0,0 +1,10 @@
{{ define "main" }}
<main id="main">
{{ .Content }}
{{ $paginator := .Paginate (where .Pages.ByPublishDate.Reverse ".Params.date" "!=" nil) 1 }}
{{ range $paginator.Pages.ByWeight }}
{{ .Content }}
{{ end }}
{{ template "_internal/pagination.html" . }}
</main>
{{end}}

View File

@ -0,0 +1,5 @@
{{ define "main" }}
<main id="main">
{{ .Content }}
</main>
{{end}}

View File

@ -1,5 +1,6 @@
{{ define "main" }}
<main id="main">
{{ .Content }}
{{ $paginator := .Paginate (where .Pages.ByPublishDate.Reverse ".Params.date" "!=" nil) 1 }}
{{ range $paginator.Pages.ByWeight }}
{{ .Content }}

View File

@ -34,7 +34,9 @@ body,
margin-top: 0;
}
p + p,
blockquote + p {
blockquote + p,
pre + p,
p + pre {
margin-top: 0.75rem;
}
.priority {
@ -50,8 +52,8 @@ abbr {
border-bottom: 1px dashed;
}
img {
max-width: 100%;
max-height: 50vh;
width: 100%;
max-height: none;
}
p img {
margin: 0.75rem 0;
@ -71,7 +73,6 @@ a {
/* Specific stuff */
body {
background-color: #fffffe;
color: #222;
font-size: 16pt;
}
@ -110,6 +111,8 @@ blockquote em {
font-style: normal;
}
.verse {
border: 1px solid #eee;
padding: 1em;
white-space: pre-wrap;
margin-top: 0;
}
@ -121,6 +124,8 @@ blockquote em {
content: '⚠';
}
pre {
border: 1px solid #eee;
padding: 1em;
white-space: pre-wrap;
font-family: 'Ubuntu Mono', monospace;
}