diff --git a/README.md b/README.md index 9ef47f4..741dc5b 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,24 @@ en = { name = "/blog/", url = "/blog" } fr = { name = "/blog/", url = "/blog" } ``` +#### Default Theme + +To configure the default theme, simply utilize the `default_theme` variable and set it to either `light` or `dark`: + +```toml +[extra] +default_theme = "light" +``` + +#### Display Author Name in Blog Posts + +Customize the display of the author's name in your blog posts by toggling the `display_author` variable to either `true` or `false`: + +```toml +[extra] +display_author = true +``` + ### Webrings Add a webring with a shortcode: diff --git a/config.toml b/config.toml index b7cb20b..0958125 100644 --- a/config.toml +++ b/config.toml @@ -46,8 +46,11 @@ internal_level = "warn" [extra] author = "Speyll" display_author = true + favicon = "favicon.ico" image = "" + +default_theme = "dark" list_pages = false twitter_card = true diff --git a/templates/header.html b/templates/header.html index 0b8f97e..0bda1b0 100644 --- a/templates/header.html +++ b/templates/header.html @@ -7,46 +7,44 @@ rel="noreferrer noopener" {% endif %}>{{ current_nav_item.name }} {% endif %} {% endfor %} +