This commit is contained in:
Madison Scott-Clary
2021-09-01 22:25:24 -07:00
parent 5d25ae8f94
commit 7e2929ea02
4 changed files with 34 additions and 16 deletions

View File

@ -1,4 +1,3 @@
--- ---
title: Limerent Object title: Limerent Object
type: post
--- ---

View File

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

View File

@ -1,8 +1,3 @@
<header> <header>
<h1>{{ .Site.Title }}</h1> <h1>{{ .Site.Title }}<small>Limerent Object and other stories</small></h1>
<nav>
<ul>
<li><a href="/">Home</a></li>
</ul>
</nav>
</header> </header>

View File

@ -5,12 +5,18 @@
font-style: normal; font-style: normal;
src: url("/tomnr.woff") format("woff"); src: url("/tomnr.woff") format("woff");
} }
header { header, footer {
margin: 0 auto; margin: 0 auto;
max-width: 640px; max-width: 640px;
font-family: "Tom's New Roman", serif; font-family: "Tom's New Roman", serif;
font-size: 18pt; font-size: 18pt;
text-align: center; text-align: center;
border-top: 1px solid rgba(0, 0, 0, 0.1);
border-bottom:1px solid rgba(0, 0, 0, 0.1);
}
h1 small {
display: block;
font-size: 50%;
} }
ul { ul {
list-style-type: none; list-style-type: none;
@ -26,6 +32,26 @@ ul li {
font-family: "Tom's New Roman", serif; font-family: "Tom's New Roman", serif;
text-align: center; text-align: center;
} }
ul.pagination {
list-style-type: none;
font-family: "Tom's New Roman", serif;
text-align: center;
}
li.page-item {
display: inline-block;
margin: 0 0.5rem;
padding: 0;
}
hr {
border: none;
width: 3em;
margin: 1em auto;
}
hr::before {
content: '§';
display: block;
text-align: center;
}
main { main {
margin: 0 auto; margin: 0 auto;
max-width: 640px; max-width: 640px;