Woo
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
---
|
||||
title: Limerent Object
|
||||
type: post
|
||||
---
|
||||
|
||||
@ -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" . }}
|
||||
{{end}}
|
||||
{{ template "_internal/pagination.html" . }}
|
||||
</main>
|
||||
{{end}}
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user