From 7b3c8a5ded5f6e3b832693300e6970fb328f2d48 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Wed, 23 Feb 2022 09:23:05 +0100 Subject: [PATCH 1/9] update congo submodule --- themes/congo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/congo b/themes/congo index c49a1b1..480492a 160000 --- a/themes/congo +++ b/themes/congo @@ -1 +1 @@ -Subproject commit c49a1b18d619fc0a78f1c7d5f59761128dac6a1b +Subproject commit 480492a976a577d5ee563a69b57c7b45b519a23c -- 2.40.1 From bb759a68ad0254a80dbeb9df0859bb2fa8f06d82 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Wed, 23 Feb 2022 09:23:44 +0100 Subject: [PATCH 2/9] ignore temp gen files --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index f50099b..1f6ef64 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ yarn-error.log* # hugo *.lock public/ +_gen/ -- 2.40.1 From 0294a11fd827cb70f2c80096daed48748f2b579e Mon Sep 17 00:00:00 2001 From: OCram85 Date: Wed, 23 Feb 2022 09:28:39 +0100 Subject: [PATCH 3/9] 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" -- 2.40.1 From 5d13e4f4d27bc128fc4f5cf101f13aa8381d684f Mon Sep 17 00:00:00 2001 From: OCram85 Date: Wed, 23 Feb 2022 09:29:07 +0100 Subject: [PATCH 4/9] move assets to new default location --- {static => assets}/img/me.jpg | Bin 1 file changed, 0 insertions(+), 0 deletions(-) rename {static => assets}/img/me.jpg (100%) diff --git a/static/img/me.jpg b/assets/img/me.jpg similarity index 100% rename from static/img/me.jpg rename to assets/img/me.jpg -- 2.40.1 From f4a7492435dbaa6793c41832ad591cad4404e6b0 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Wed, 23 Feb 2022 09:29:30 +0100 Subject: [PATCH 5/9] add new default values to archetype --- archetypes/default.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archetypes/default.md b/archetypes/default.md index 1ff6f3a..96ce2e4 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -11,6 +11,8 @@ draft: true # showAuthor: false # showWordCount: false # showReadingTime: false +# showTableOfContents: false +# showTaxonomies: true # showEdit: false # sharingLinks: [null] --- -- 2.40.1 From 10b4a4d933dad1d39ea84a82ff32a5eb25a38024 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Wed, 23 Feb 2022 09:29:49 +0100 Subject: [PATCH 6/9] use integrate lead in homepage --- content/_index.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/content/_index.md b/content/_index.md index 6ded515..cb11751 100644 --- a/content/_index.md +++ b/content/_index.md @@ -3,7 +3,3 @@ title: 'Welcome' date: 2021-12-22T14:29:49+01:00 draft: false --- - -{{< lead >}} -A developer / DevOps guy fighting against corporate proxies. -{{< /lead >}} -- 2.40.1 From 660980c02f21dcaae0718b985541f2587a74b50e Mon Sep 17 00:00:00 2001 From: OCram85 Date: Wed, 23 Feb 2022 09:30:10 +0100 Subject: [PATCH 7/9] upate note box to congo 2 stype --- layouts/shortcodes/note.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/shortcodes/note.html b/layouts/shortcodes/note.html index 98b261a..dccd589 100644 --- a/layouts/shortcodes/note.html +++ b/layouts/shortcodes/note.html @@ -1,5 +1,5 @@ -
- +
+ {{ partial "icon.html" "comment" }} -- 2.40.1 From 3b44c0f70561171d0f12d7b032d91013f9f1ebcb Mon Sep 17 00:00:00 2001 From: OCram85 Date: Wed, 23 Feb 2022 09:44:04 +0100 Subject: [PATCH 8/9] icon breaks toc --- content/aboutme/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/aboutme/index.md b/content/aboutme/index.md index 7b177c6..83e0dc6 100644 --- a/content/aboutme/index.md +++ b/content/aboutme/index.md @@ -14,6 +14,7 @@ showReadingTime: false showEdit: false #sharingLinks: [null] showPagination: false +showTableOfContents: false --- {{< figure src="me.jpg" width="1200" height="800" >}} -- 2.40.1 From 54176bc4526b5e7e83ffc36d161b0fa65c8ccd96 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Wed, 23 Feb 2022 09:44:23 +0100 Subject: [PATCH 9/9] disable dark switcher --- config/_default/params.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index fe5d194..2c36f8b 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -8,7 +8,7 @@ colorScheme = "avocado" defaultAppearance = "dark" # valid options: light or dark autoSwitchAppearance = false -showAppearanceSwitcher = true +showAppearanceSwitcher = false enableSearch = true enableCodeCopy = true -- 2.40.1