From f0d45fe81f0c350dd2805bc0a7543fbd5f3beced Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 23 Mar 2021 22:58:01 +0100 Subject: Added breadcrumbs in the Docs section and display tags list in blog posts --- layouts/docs/list.html | 2 +- layouts/docs/single.html | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 layouts/docs/single.html (limited to 'layouts/docs') 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" }} -

{{ .Title }}

+{{ 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 }} + -- cgit v1.2.3