diff options
author | Michael Hunteman <michael@huntm.net> | 2023-03-07 10:36:03 -0600 |
---|---|---|
committer | Michael Hunteman <michael@huntm.net> | 2023-03-07 10:36:03 -0600 |
commit | 544136925ffe8ebac3b729a9c86ac7a1d2bfb814 (patch) | |
tree | a10226275979ee7aff41d25a7787feabf7da70e0 /layouts/_default |
Initial commit
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/list.html | 12 | ||||
-rw-r--r-- | layouts/_default/single.html | 10 |
2 files changed, 22 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..03d3faf --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,12 @@ +{{ partial "head.html" . }} +{{ partial "header.html" . }} + +<main> + <ul> + {{ range .Pages }} + <li><a href="{{ .Permalink }}">{{.Date.Format "Jan 2, 2006"}} - {{ .Name }}</a></li> + {{ end }} + </ul> +</main> + +{{ partial "footer.html" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..5788c52 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,10 @@ +{{ partial "head.html" . }} +{{ partial "header.html" . }} + +<main> + <article> + {{ .Content }} + </article> +</main> + +{{ partial "footer.html" . }} |