summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html11
-rw-r--r--layouts/_default/single.html8
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 }}