diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-02-24 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-02-24 00:00:00 +0000 |
commit | 332dca70f6d89cba1f5b4813093ae8bb57cd08f3e25813f57fba251763514b9a (patch) | |
tree | c1bea4acd8c15070613155025c34c0179298c31b7ba37d7267b4daf74d0ebeb0 /layouts | |
parent | 05422f3a36eb406451d714f16204d8cded3e7fb8eb06131948c2da05749ec20d (diff) | |
download | hugo-theme-journal-332dca70f6d89cba1f5b4813093ae8bb57cd08f3e25813f57fba251763514b9a.tar.gz hugo-theme-journal-332dca70f6d89cba1f5b4813093ae8bb57cd08f3e25813f57fba251763514b9a.zip |
Add navigation links to taxonomies
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/taxonomy.gmi | 3 | ||||
-rw-r--r-- | layouts/_default/taxonomy.html | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/layouts/_default/taxonomy.gmi b/layouts/_default/taxonomy.gmi index ad90191..c68f674 100644 --- a/layouts/_default/taxonomy.gmi +++ b/layouts/_default/taxonomy.gmi @@ -1,4 +1,7 @@ {{ define "main" -}} +=> / {{ emojify ":link:" | safeHTML }} Return to homepage + + # All {{ .Type }} {{- range .Data.Pages }} => {{ .RelPermalink }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }} diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html index f17a06d..566e6da 100644 --- a/layouts/_default/taxonomy.html +++ b/layouts/_default/taxonomy.html @@ -1,4 +1,7 @@ {{ define "main" -}} +<nav> + <p>{{ emojify ":link:" | safeHTML }} <a class="link" href="/" rel="noreferrer">Return to homepage</a></p> +</nav> <main> <h1>All {{ .Type }}</h1> <ul class="list"> |