From 0294a11fd827cb70f2c80096daed48748f2b579e Mon Sep 17 00:00:00 2001 From: OCram85 Date: Wed, 23 Feb 2022 09:28:39 +0100 Subject: [PATCH] update congo 2 config --- config/_default/config.toml | 53 ++--------------- config/_default/languages.en.toml | 58 +++++++++++++++++++ config/_default/markup.toml | 4 ++ config/_default/{menus.toml => menus.en.toml} | 1 + config/_default/params.toml | 25 +++++--- 5 files changed, 83 insertions(+), 58 deletions(-) create mode 100644 config/_default/languages.en.toml rename config/_default/{menus.toml => menus.en.toml} (99%) diff --git a/config/_default/config.toml b/config/_default/config.toml index d09860b..bd6fa67 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -3,59 +3,14 @@ # https://jpanther.github.io/congo/docs/getting-started/ baseURL = "https://ocram85.com/" -languageCode = "en" defaultContentLanguage = "en" -title = "OCram85.com" -# copyright = "Copy, _right?_ :thinking_face:" +theme= "congo" -enableEmoji = true enableRobotsTXT = true - +paginate = 10 summaryLength = 0 -theme = "congo" +[outputs] + home = ["HTML", "RSS", "JSON"] -[author] - name = "OCram85" - image = "img/me.jpg" - bio = "A developer / DevOps guy fighting against corporate proxies." - links = [ - { email = "mailto:marco.blessing@googlemail.com" }, - # { link = "https://stackoverflow.com/users/5222635/ocram85/" }, - # { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" }, - # { apple = "https://www.apple.com" }, - # { codepen = "https://codepen.io/username" }, - # { dev = "https://dev.to/username" }, - # { discord = "https://discord.gg/invitecode" }, - # { dribbble = "https://dribbble.com/username" }, - # { facebook = "https://facebook.com/username" }, - # { flickr = "https://www.flickr.com/photos/username/" }, - # { foursquare = "https://foursquare.com/username" }, - { github = "https://github.com/OCram85" }, - # { gitlab = "https://gitlab.com/username" }, - # { google = "https://www.google.com/" }, - # { instagram = "https://instagram.com/username" }, - # { keybase = "https://keybase.io/username" }, - # { kickstarter = "https://www.kickstarter.com/profile/username" }, - # { lastfm = "https://lastfm.com/user/username" }, - { linkedin = "https://linkedin.com/in/marco-blessing-884642109" }, - # { mastodon = "https://mastodon.instance/@username" }, - # { medium = "https://medium.com/username" }, - # { microsoft = "https://www.microsoft.com/" }, - # { patreon = "https://www.patreon.com/username" }, - # { pinterest = "https://pinterest.com/username" }, - # { reddit = "https://reddit.com/user/username" }, - # { slack = "https://workspace.url/team/userid" }, - # { snapchat = "https://snapchat.com/add/username" }, - # { soundcloud = "https://soundcloud.com/username" }, - { stackoverflow = "https://stackoverflow.com/users/5222635/ocram85" }, - # { steam = "https://steamcommunity.com/profiles/userid" }, - # { telegram = "https://t.me/username" }, - # { tiktok = "https://tiktok.com/@username" }, - # { tumblr = "https://username.tumblr.com" }, - # { twitch = "https://twitch.tv/username" }, - { twitter = "https://twitter.com/tar_honar" }, - # { whatsapp = "https://wa.me/phone-number" }, - # { youtube = "https://youtube.com/username" }, - ] diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml new file mode 100644 index 0000000..e8fb18c --- /dev/null +++ b/config/_default/languages.en.toml @@ -0,0 +1,58 @@ +languageCode = "en" +languageName = "English" +displayName = "EN" +isoCode = "en" +weight = 1 +rtl = false + +title = "OCram85.com" +logo = "img/logo_square.png" +description = "A personal blog about PowerShell, Automation and more." +# copyright = "Copy, _right?_ :thinking_face:" + +dateFormat = "2 January 2006" + +[author] + name = "OCram85" + image = "img/me.jpg" + headline = "A developer / DevOps guy fighting against corporate proxies." + bio = "A developer / DevOps guy fighting against corporate proxies." + links = [ + { email = "mailto:marco.blessing@googlemail.com" }, + # { link = "https://link-to-some-website.com/" }, + # { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" }, + # { apple = "https://www.apple.com" }, + # { blogger = "https://username.blogspot.com/" }, + # { codepen = "https://codepen.io/username" }, + # { dev = "https://dev.to/username" }, + # { discord = "https://discord.gg/invitecode" }, + # { dribbble = "https://dribbble.com/username" }, + # { facebook = "https://facebook.com/username" }, + # { flickr = "https://www.flickr.com/photos/username/" }, + # { foursquare = "https://foursquare.com/username" }, + { github = "https://github.com/OCram85" }, + # { gitlab = "https://gitlab.com/username" }, + # { google = "https://www.google.com/" }, + # { instagram = "https://instagram.com/username" }, + # { keybase = "https://keybase.io/username" }, + # { kickstarter = "https://www.kickstarter.com/profile/username" }, + # { lastfm = "https://lastfm.com/user/username" }, + { linkedin = "https://linkedin.com/in/marco-blessing-884642109" }, + # { mastodon = "https://mastodon.instance/@username" }, + # { medium = "https://medium.com/username" }, + # { microsoft = "https://www.microsoft.com/" }, + # { patreon = "https://www.patreon.com/username" }, + # { pinterest = "https://pinterest.com/username" }, + # { reddit = "https://reddit.com/user/username" }, + # { slack = "https://workspace.url/team/userid" }, + # { snapchat = "https://snapchat.com/add/username" }, + # { soundcloud = "https://soundcloud.com/username" }, + # { steam = "https://steamcommunity.com/profiles/userid" }, + # { telegram = "https://t.me/username" }, + # { tiktok = "https://tiktok.com/@username" }, + # { tumblr = "https://username.tumblr.com" }, + # { twitch = "https://twitch.tv/username" }, + { twitter = "https://twitter.com/tar_honar" }, + # { whatsapp = "https://wa.me/phone-number" }, + # { youtube = "https://youtube.com/username" }, + ] diff --git a/config/_default/markup.toml b/config/_default/markup.toml index 2ca49b3..c5449fc 100644 --- a/config/_default/markup.toml +++ b/config/_default/markup.toml @@ -7,3 +7,7 @@ [highlight] noClasses = false + +[tableOfContents] + startLevel = 2 + endLevel = 4 diff --git a/config/_default/menus.toml b/config/_default/menus.en.toml similarity index 99% rename from config/_default/menus.toml rename to config/_default/menus.en.toml index 3299500..6bcb3a2 100644 --- a/config/_default/menus.toml +++ b/config/_default/menus.en.toml @@ -49,3 +49,4 @@ name = "Stats" url = "https://umami.ocram85.com/share/KAk7LmbU/Blog" weight = 30 + diff --git a/config/_default/params.toml b/config/_default/params.toml index 0a7c78c..fe5d194 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -6,12 +6,16 @@ # https://jpanther.github.io/congo/docs/configuration/#theme-parameters colorScheme = "avocado" -darkMode = "true" -# darkToggle = false -logo = "img/logo_square.png" -description = "A personal blog about PowerShell, Automation and more." +defaultAppearance = "dark" # valid options: light or dark +autoSwitchAppearance = false +showAppearanceSwitcher = true + +enableSearch = true +enableCodeCopy = true + # mainSections = ["section1", "section2"] # robots = "" +showScrollToTop = true [homepage] layout = "profile" # valid options: page, profile, custom @@ -19,8 +23,7 @@ description = "A personal blog about PowerShell, Automation and more." [article] showDate = true - #showDateUpdated = true - dateFormat = "2 January 2006" + showDateUpdated = false showAuthor = true showBreadcrumbs = false showDraftLabel = true @@ -29,21 +32,25 @@ description = "A personal blog about PowerShell, Automation and more." editAppendPath = true showHeadingAnchors = true showPagination = true + invertPagination = false showReadingTime = true + showTableOfContents = true + showTaxonomies = false showWordCount = true sharingLinks = ["facebook", "twitter", "pinterest", "reddit", "linkedin", "email"] [list] showBreadcrumbs = false showSummary = false + showTableOfContents = false groupByYear = true -[taxonomy] - showTermCount = true - [sitemap] excludedKinds = ["taxonomy", "term"] +[taxonomy] + showTermCount = true + [fathomAnalytics] # site = "ABC12345" # domain = "llama.yoursite.com"