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
type: post
---

View File

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

View File

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

View File

@ -5,12 +5,18 @@
font-style: normal;
src: url("/tomnr.woff") format("woff");
}
header {
header, footer {
margin: 0 auto;
max-width: 640px;
font-family: "Tom's New Roman", serif;
font-size: 18pt;
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 {
list-style-type: none;
@ -26,6 +32,26 @@ ul li {
font-family: "Tom's New Roman", serif;
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 {
margin: 0 auto;
max-width: 640px;