aboutsummaryrefslogtreecommitdiff
path: root/layouts/docs
diff options
context:
space:
mode:
authorJulien Dessaux2021-03-23 22:58:01 +0100
committerJulien Dessaux2021-03-23 22:58:01 +0100
commitf0d45fe81f0c350dd2805bc0a7543fbd5f3beced (patch)
tree6c7ffe7982fab1b4cd9aff8adaa42ae475c0cabb /layouts/docs
parentCut down code quotes that were too long and disformed the blog template (diff)
downloadwww-f0d45fe81f0c350dd2805bc0a7543fbd5f3beced.tar.gz
www-f0d45fe81f0c350dd2805bc0a7543fbd5f3beced.tar.bz2
www-f0d45fe81f0c350dd2805bc0a7543fbd5f3beced.zip
Added breadcrumbs in the Docs section and display tags list in blog posts
Diffstat (limited to '')
-rw-r--r--layouts/docs/list.html2
-rw-r--r--layouts/docs/single.html10
2 files changed, 11 insertions, 1 deletions
diff --git a/layouts/docs/list.html b/layouts/docs/list.html
index bbd9f22..b6087f8 100644
--- a/layouts/docs/list.html
+++ b/layouts/docs/list.html
@@ -1,6 +1,6 @@
{{ define "main" }}
-<h1>{{ .Title }}</h1>
+{{ partial "breadcrumbs.html" . }}
{{ with .Content }}
{{ . }}
diff --git a/layouts/docs/single.html b/layouts/docs/single.html
new file mode 100644
index 0000000..124695b
--- /dev/null
+++ b/layouts/docs/single.html
@@ -0,0 +1,10 @@
+{{ define "main" }}
+
+{{ partial "breadcrumbs.html" . }}
+
+{{ partial "toc.html" . }}
+
+{{ .Content }}
+
+{{ end }}
+