From 1025744c4ef211fabe80bdb365c219764a9b1ca5 Mon Sep 17 00:00:00 2001 From: CrimsonTome Date: Thu, 16 Feb 2023 22:55:14 +0000 Subject: [PATCH] feat: add home menu and enable tags --- src/blog/config.toml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/src/blog/config.toml b/src/blog/config.toml index 697174e..a7e91a4 100644 --- a/src/blog/config.toml +++ b/src/blog/config.toml @@ -22,4 +22,27 @@ highlight_code = true accent_color = "pink" # switch logo text from the default -logo_text = "CrimsonTome's Blog" \ No newline at end of file +logo_text = "CrimsonTome's Blog" + +author = "CrimsonTome" + +# menu is enabled by adding menu_items (optional) +menu_items = [ + # each of these is optional, name and url are required + # $BASE_URL is going to be substituted by base_url from configuration + {name = "blog", url = "$BASE_URL"}, + + # tags should only be enabled if you have "tags" taxonomy + # see documentation below for more details + {name = "tags", url = "$BASE_URL/tags"}, + {name = "archive", url = "$BASE_URL/archive"}, + {name = "about me", url = "$BASE_URL/about"}, + + # set newtab to true to make the link open in new tab + {name = "github", url = "https://github.com/crimsontome", newtab = true}, +] + +#enable tags +taxonomies = [ + {name = "tags"}, +]