aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html6
-rw-r--r--layouts/_default/list.html1
-rw-r--r--layouts/_default/single.html1
3 files changed, 6 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 042223c..3a374cf 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -71,9 +71,11 @@
{{ end }}
{{ define "main" }}
- {{ .Content }}
+ <article class="markdown">
+ {{- .Content -}}
+ </article>
{{ end }}
{{ define "toc" }}
- {{ .TableOfContents }}
+ {{ partial "docs/toc" . }}
{{ end }}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
new file mode 100644
index 0000000..0dc8b68
--- /dev/null
+++ b/layouts/_default/list.html
@@ -0,0 +1 @@
+{{ define "dummy" }}{{ end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..0dc8b68
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1 @@
+{{ define "dummy" }}{{ end }}