diff options
Diffstat (limited to '')
-rw-r--r-- | content/blog/_index.md | 2 | ||||
-rw-r--r-- | content/docs/_index.md | 2 | ||||
-rw-r--r-- | content/tags/_index.html | 7 | ||||
-rw-r--r-- | layouts/_default/terms.html | 10 |
4 files changed, 16 insertions, 5 deletions
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 }} + <h1>{{ .Title }}</h1> +<ul> {{ range .Data.Terms.Alphabetical }} -<p> - <a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> - {{ .Count }} posts -</p> + <li><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> - {{ .Count }} posts</li> {{ end }} +</ul> {{ end }} |