From 4d507e06ab739f688613c870c165b16e6e3ee34c Mon Sep 17 00:00:00 2001 From: tsmitty11 Date: Thu, 18 May 2023 21:33:56 +0200 Subject: [PATCH] Changed up category taxonomy --- src/config.toml | 1 + src/layouts/_default/taxonomy/categories.html | 8 +++++++ src/layouts/_default/taxonomyTerm.html | 20 ------------------ src/layouts/taxonomy/taxonomy.html | 21 ------------------- 4 files changed, 9 insertions(+), 41 deletions(-) create mode 100644 src/layouts/_default/taxonomy/categories.html delete mode 100644 src/layouts/_default/taxonomyTerm.html delete mode 100644 src/layouts/taxonomy/taxonomy.html diff --git a/src/config.toml b/src/config.toml index 52da585..7099a58 100644 --- a/src/config.toml +++ b/src/config.toml @@ -18,3 +18,4 @@ title = 'Equitable Open-Source for Web3' [taxonomies] category = "categories" + tags = "tags" diff --git a/src/layouts/_default/taxonomy/categories.html b/src/layouts/_default/taxonomy/categories.html new file mode 100644 index 0000000..e3bb24c --- /dev/null +++ b/src/layouts/_default/taxonomy/categories.html @@ -0,0 +1,8 @@ +

{{ .Page.Title }}

+ diff --git a/src/layouts/_default/taxonomyTerm.html b/src/layouts/_default/taxonomyTerm.html deleted file mode 100644 index 7d2db5f..0000000 --- a/src/layouts/_default/taxonomyTerm.html +++ /dev/null @@ -1,20 +0,0 @@ - - -{{ partial "head.html" . }} - -{{ partial "navbar.html" . }} -
-
-

{{ .Title }}

- {{ range .Pages }} -

{{ .Title }}

- - {{ end }} -
-
- - - diff --git a/src/layouts/taxonomy/taxonomy.html b/src/layouts/taxonomy/taxonomy.html deleted file mode 100644 index 6c6e799..0000000 --- a/src/layouts/taxonomy/taxonomy.html +++ /dev/null @@ -1,21 +0,0 @@ - - -{{ partial "head.html" . }} - -{{ partial "navbar.html" . }} -
-
-

{{ .Title }}

-
    - {{ range .Data.Terms.Alphabetical }} -
  • {{ .Page.Title }} ({{ .Count }})
  • - {{ end }} -
-
-
- - -