feat: add home menu and enable tags

main
CrimsonTome 2023-02-16 22:55:14 +00:00 committed by Rowan Clark
parent cd8ab71c9d
commit 1025744c4e
No known key found for this signature in database
GPG Key ID: F620D51904044094
1 changed files with 24 additions and 1 deletions

View File

@ -22,4 +22,27 @@ highlight_code = true
accent_color = "pink"
# switch logo text from the default
logo_text = "CrimsonTome's Blog"
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"},
]