Initial commit

This commit is contained in:
Elnu 2022-06-10 12:27:13 -07:00
parent 1228692325
commit dbe51f693d
23 changed files with 1924 additions and 0 deletions

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}
</div>
<br>
<br>
{{- partial "footer.html" . -}}
<br>
</body>
</html>

View file

@ -0,0 +1,4 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ partial "archive.html" . }}
{{ end }}

View file

@ -0,0 +1,17 @@
{{ define "main" }}
{{ with .Site.RegularPages.Prev . }}
<a href="{{ .RelPermalink }}" rel="prev">&laquo; Previous post: <i>{{ .Title }}</i></a>
{{ end }}
{{ with .Site.RegularPages.Next . }}
<a href="{{ .RelPermalink }}" rel="next" style="float: right">Next post: <i>{{ .Title }}</i> &raquo</a>
{{ end }}
<br><br>
<article>
<header>
<h1>{{ .Title }}</h1>
{{ partial "metadata.html" . }}
</header>
<br>
{{ .Content }}
</article>
{{ end }}

View file

@ -0,0 +1,6 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ range .Data.Terms.ByCount }}
<a href="{{ .Page.RelPermalink }}">{{ if eq .Page.Data.Singular "tag" }}#{{ end }}{{ .Page.Title }}</a> {{ $len := len .Pages }}{{ $len }} post{{ if ne $len 1 }}s{{ end }}<br>
{{ end }}
{{ end }}

View file

@ -0,0 +1,5 @@
{{ define "main" }}
<a href="{{ .Parent.RelPermalink }}"> &laquo; All {{ .Data.Plural }}</a>
<h1>{{ if eq .Data.Singular "tag" }}#{{ end }}{{ .Title }}</h1>
{{ partial "archive.html" . }}
{{ end }}