From d4143945c980428843a21c33643b5e337b239c99 Mon Sep 17 00:00:00 2001 From: Nick Slowinski Date: Sun, 18 Jun 2023 19:57:25 +0200 Subject: [PATCH] move to FixIt theme --- config.toml | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 85 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index dd75212..20e2bc3 100644 --- a/config.toml +++ b/config.toml @@ -2,16 +2,83 @@ baseURL = "https://nick-slowinski.de" defaultContentLanguage = "de" languageCode = "de" title = "Nick Slowinski" -theme = "LoveIt" +theme = "FixIt" enableEmoji = true enableGitInfo = true +[menu] + [[menu.main]] + identifier = "posts" + # you can add extra information before the name (HTML format is supported), such as icons + pre = "" + # you can add extra information after the name (HTML format is supported), such as icons + post = "" + name = "Artikel" + url = "/posts/" + # title will be shown when you hover on this menu link + title = "" + weight = 1 + # FixIt 0.2.14 | NEW add user-defined content to menu items + [menu.main.params] + # add css class to a specific menu item + class = "" + # whether set as a draft menu item whose function is similar to a draft post/page + draft = false + # FixIt 0.2.16 | NEW add fontawesome icon to a specific menu item + icon = "fa-solid fa-archive" + # FixIt 0.2.16 | NEW set menu item type, optional values: ["mobile", "desktop"] + type = "" + [[menu.main]] + identifier = "categories" + pre = "" + post = "" + name = "Kategorien" + url = "/categories/" + title = "" + weight = 2 + [menu.main.params] + icon = "fa-solid fa-th" + [[menu.main]] + identifier = "tags" + pre = "" + post = "" + name = "Tags" + url = "/tags/" + title = "" + weight = 3 + [menu.main.params] + icon = "fa-solid fa-tags" + [params] # LoveIt theme version version = "0.2.X" gitRepo = "https://git.nick-slowinski.de/nick-slowinski.de/www" defaultTheme = "auto" # Home page config + # Header config + [params.header] + # FixIt 0.2.13 | CHANGED desktop header mode ["sticky", "normal", "auto"] + desktopMode = "sticky" + # FixIt 0.2.13 | CHANGED mobile header mode ["sticky", "normal", "auto"] + mobileMode = "auto" + # FixIt 0.2.0 | NEW Header title config + [params.header.title] + # URL of the LOGO + logo = "" + # title name + name = "Nick Slowinski" + # you can add extra information before the name (HTML format is supported), such as icons + pre = "" + # you can add extra information after the name (HTML format is supported), such as icons + post = "" + # FixIt 0.2.5 | NEW whether to use typeit animation for title name + typeit = false + # FixIt 0.2.12 | NEW Header subtitle config + [params.header.subtitle] + # subtitle name + name = "" + # whether to use typeit animation for subtitle name + typeit = false [params.home] # LoveIt NEW | 0.2.0 amount of RSS pages rss = 10 @@ -37,7 +104,7 @@ enableGitInfo = true [params.search] enable = true # type of search engine ("lunr", "algolia") - type = "lunr" + type = "fuse" # max index length of the chunked content contentLength = 4000 # placeholder of the search bar @@ -51,12 +118,28 @@ enableGitInfo = true # LoveIt NEW | 0.2.4 whether to use the absolute URL based on the baseURL in search index absoluteURL = false + [params.search.fuse] + # FixIt 0.2.17 | NEW https://fusejs.io/api/options.html + isCaseSensitive = false + minMatchCharLength = 2 + findAllMatches = false + location = 0 + threshold = 0.3 + distance = 100 + ignoreLocation = false + useExtendedSearch = false + ignoreFieldNorm = false + # Social config about the author [params.social] Telegram = "NickSlowinski" Gitea = "https://git.nick-slowinski.de/NickSlowinski/" Email = "nick@nick-slowinski.de" + Twitter = "NickSlowinski" + Paypal = "nick1307" + Steam = "nick1307" RSS = false + [params.footer] custom = 'Impressum, Haftungsausschluss und Datenschutzerklärung'