diff options
author | Nicholas Johnson <nick@nicksphere.ch> | 2022-04-28 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicksphere.ch> | 2022-04-28 00:00:00 +0000 |
commit | b1efd00585f84abc397a040852b67c31d36d177d44367a7581afd3e4389b6fd2 (patch) | |
tree | 20ff16d4b8db72a0f387faf722fc1534440678d8cd6663111ec052bde04718d4 /layouts/_default | |
download | hugo-theme-journal-b1efd00585f84abc397a040852b67c31d36d177d44367a7581afd3e4389b6fd2.tar.gz hugo-theme-journal-b1efd00585f84abc397a040852b67c31d36d177d44367a7581afd3e4389b6fd2.zip |
Initial commit
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/baseof.html | 11 | ||||
-rw-r--r-- | layouts/_default/single.html | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..7bfd004 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> + {{ partial "head.html" . }} + <body> + {{ partial "header.html" . }} + <content> + {{ block "main" . }}{{ end }} + </content> + {{ partial "footer.html" . }} + </body> +</html> diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..7c58c1a --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,8 @@ +{{ define "main" }} +<nav> +<p><a href="/" rel="noreferrer">Return to homepage</a></p> +</nav> +<content> + {{ .Content }} +</content> +{{ end }} |