From f0f28ead1646f81d4c3101618d945ed8e7b99db6 Mon Sep 17 00:00:00 2001 From: Nikos Altiparmakis Date: Sat, 24 May 2025 16:26:16 +0100 Subject: [PATCH] Modify README for empty taxonomy WAR For empty taxonomy a user can achieve that by having an empty (truly empty, not just "empty" entries) taxonomy section. The README is a bit misleading by stating the bug here cannot be worked around. While its description is technically correct, augment the section to specify that an empty taxonomy is indeed possible. --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d2767a3b3..6a16a1492 100644 --- a/README.md +++ b/README.md @@ -186,7 +186,7 @@ If you need another one, just open an issue or create a pull request with your w ## Known issues -There is a bug in Hugo that sometimes causes the main page not to render correctly. The reason is an empty taxonomy part. +There is a bug in Hugo that sometimes causes the main page not to render correctly. The reason is an taxonomy part with empty entries. Related issue tickets: [!14](https://github.com/rhazdon/hugo-theme-hello-friend-ng/issues/14) [!59](https://github.com/rhazdon/hugo-theme-hello-friend-ng/issues/59). Either you comment it out completely or you write the following in @@ -197,6 +197,12 @@ Either you comment it out completely or you write the following in category = "categories" ``` +In case you'd like to actually have an empty taxonomy, you can do so by specifying the following (i.e. without adding any entries to the taxonomy part): + +``` toml +[taxonomies] +``` + ## How to edit the theme Just edit it. You don't need any node stuff. ;)