diff --git a/content/limerent-object/_index.md b/content/limerent-object/_index.md index 868d104..464a378 100644 --- a/content/limerent-object/_index.md +++ b/content/limerent-object/_index.md @@ -1,4 +1,3 @@ --- title: Limerent Object -type: post --- diff --git a/themes/maddybook/layouts/limerent-object/list.html b/themes/maddybook/layouts/limerent-object/list.html index eedabd0..ac211d9 100644 --- a/themes/maddybook/layouts/limerent-object/list.html +++ b/themes/maddybook/layouts/limerent-object/list.html @@ -1,12 +1,10 @@ {{ define "main" }} -{{ $paginator := .Paginate (where .Pages.ByPublishDate.Reverse ".Params.date" "!=" nil) 1 }} -{{ $content := .Content }} -{{ range $paginator.Pages.ByWeight }} -
- asdf - {{ $content }} +
+ {{ $paginator := .Paginate (.Pages) 1 }} + {{ template "_internal/pagination.html" . }} + {{ range $paginator.Pages }} {{ .Content }} - {{ end }} - {{ partial "pagination.html" . }} + {{end}} + {{ template "_internal/pagination.html" . }}
{{end}} diff --git a/themes/maddybook/layouts/partials/header.html b/themes/maddybook/layouts/partials/header.html index 7cfba56..5353aa0 100644 --- a/themes/maddybook/layouts/partials/header.html +++ b/themes/maddybook/layouts/partials/header.html @@ -1,8 +1,3 @@
-

{{ .Site.Title }}

- +

{{ .Site.Title }}Limerent Object and other stories

diff --git a/themes/maddybook/static/css/main.css b/themes/maddybook/static/css/main.css index da639dc..e60b601 100644 --- a/themes/maddybook/static/css/main.css +++ b/themes/maddybook/static/css/main.css @@ -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;