From 7efb74427ff6a63a0adc133c999b927a258beb38 Mon Sep 17 00:00:00 2001 From: jk Date: Wed, 29 Apr 2020 23:46:49 +0100 Subject: [PATCH] fix categories and tags and update style --- config.toml | 2 ++ themes/anatole/layouts/_default/list.html | 2 +- themes/anatole/static/css/style.css | 10 ++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 658384a0..884ffc3a 100644 --- a/config.toml +++ b/config.toml @@ -27,6 +27,8 @@ enableEmoji=true [taxonomies] blog = "blog" image = "image" +tag = "tags" +category = "categories" [params] title = "J K 🇯🇵🏴󠁧󠁢󠁳󠁣󠁴󠁿" diff --git a/themes/anatole/layouts/_default/list.html b/themes/anatole/layouts/_default/list.html index 5bc1dd21..1150d502 100644 --- a/themes/anatole/layouts/_default/list.html +++ b/themes/anatole/layouts/_default/list.html @@ -1,6 +1,6 @@ {{ define "main" }}
-
{{if not (eq .Name "Blog")}}{{ .Name }}{{ end }}
+
{{if not (eq .Name "Blog")}}{{ .Name }}{{ end }}{{if eq .Name "Blog"}}All Blogs{{ end }}