This commit is contained in:
@ -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}}
|
||||
|
||||
@ -0,0 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<main id="main">
|
||||
{{ .Content }}
|
||||
</main>
|
||||
{{end}}
|
||||
|
||||
@ -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 }}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user