From 56ef5f0685017a612eab192e2221064fc9ee4ae8 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 11 Mar 2021 19:05:16 +0100 Subject: Add tags to the menu and fixed formatting on tags' page --- content/blog/_index.md | 2 +- content/docs/_index.md | 2 +- content/tags/_index.html | 7 +++++++ layouts/_default/terms.html | 10 +++++++--- 4 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 content/tags/_index.html diff --git a/content/blog/_index.md b/content/blog/_index.md index 098f984..b2e44f0 100644 --- a/content/blog/_index.md +++ b/content/blog/_index.md @@ -2,5 +2,5 @@ title: "Blog" menu: main: - weight: 2 + weight: 3 --- diff --git a/content/docs/_index.md b/content/docs/_index.md index 69ac38f..03907d3 100644 --- a/content/docs/_index.md +++ b/content/docs/_index.md @@ -2,7 +2,7 @@ title: "Docs" menu: main: - weight: 1 + weight: 2 --- This is the Docs section of this website. It is an heritage of the old wiki I maintained, with information that does not really fit in a blog format. diff --git a/content/tags/_index.html b/content/tags/_index.html new file mode 100644 index 0000000..7b2b4b8 --- /dev/null +++ b/content/tags/_index.html @@ -0,0 +1,7 @@ +--- +title: "Tags" +menu: + main: + weight: 1 +--- + diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 138e964..8cca470 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -1,11 +1,15 @@ {{ define "main" }} +{{ with .Content }} +{{ . }} +{{ end }} +

{{ .Title }}

+ {{ end }} -- cgit v1.2.3