From 60d01a20e1b05e2dfd0736db07bb24c679e48074 Mon Sep 17 00:00:00 2001 From: brooke Date: Sat, 13 Apr 2024 18:20:01 -0400 Subject: [PATCH] clean up config files --- config/_default/config.toml | 62 +++++------ config/_default/languages.en.toml | 28 +++-- config/_default/markup.toml | 11 +- config/_default/menus.en.toml | 48 ++++----- config/_default/params.toml | 164 +++++++++++++++--------------- 5 files changed, 154 insertions(+), 159 deletions(-) diff --git a/config/_default/config.toml b/config/_default/config.toml index a689c56..d8dd541 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -10,48 +10,48 @@ buildDrafts = false buildFuture = false [imaging] - anchor = 'Center' +anchor = 'Center' [taxonomies] - tag = "tags" - category = "categories" - author = "authors" - series = "series" +tag = "tags" +category = "categories" +author = "authors" +series = "series" [sitemap] - changefreq = 'always' - filename = 'sitemap.xml' - priority = 0.5 +changefreq = 'always' +filename = 'sitemap.xml' +priority = 0.5 [outputs] - home = ["HTML", "RSS", "JSON"] +home = ["HTML", "RSS", "JSON"] [related] - threshold = 0 - toLower = false +threshold = 0 +toLower = false - [[related.indices]] - name = "tags" - weight = 100 +[[related.indices]] +name = "tags" +weight = 100 - [[related.indices]] - name = "categories" - weight = 100 +[[related.indices]] +name = "categories" +weight = 100 - [[related.indices]] - name = "series" - weight = 50 +[[related.indices]] +name = "series" +weight = 50 - [[related.indices]] - name = "authors" - weight = 20 +[[related.indices]] +name = "authors" +weight = 20 - [[related.indices]] - name = "date" - weight = 10 +[[related.indices]] +name = "date" +weight = 10 - [[related.indices]] - applyFilter = false - name = 'fragmentrefs' - type = 'fragments' - weight = 10 +[[related.indices]] +applyFilter = false +name = 'fragmentrefs' +type = 'fragments' +weight = 10 diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml index c97c1b0..19bd2f8 100644 --- a/config/_default/languages.en.toml +++ b/config/_default/languages.en.toml @@ -4,21 +4,17 @@ weight = 1 title = "MycoSystems Co-Op" [params] - displayName = "EN" - isoCode = "en" - rtl = false - dateFormat = "2 January 2006" - logo = "styles/blue/android-chrome-512x512.png" - description = "Hi, welcome to MycoSystems Web!" - copyright = "Articles are copyleft, no rights reserved. Thank you to the devs @ [Blowfish](https://blowfish.page)" +displayName = "EN" +isoCode = "en" +rtl = false +dateFormat = "2 January 2006" +logo = "styles/blue/android-chrome-512x512.png" +description = "Hi, welcome to MycoSystems Web!" +copyright = "Articles are copyleft, no rights reserved. Thank you to the devs @ [Blowfish](https://blowfish.page)" [author] - name = "MycoSystems" - image = "styles/blue/android-chrome-512x512.png" - headline = "Hi, welcome to MycoSystems Web!" - bio = "Hi, welcome to MycoSystems Web!" - links = [ - { github = "https://git.myco.systems/explore" }, - ] - - +name = "MycoSystems" +image = "styles/blue/android-chrome-512x512.png" +headline = "Hi, welcome to MycoSystems Web!" +bio = "Hi, welcome to MycoSystems Web!" +#links = [{ github = "https://git.myco.systems/explore" }] diff --git a/config/_default/markup.toml b/config/_default/markup.toml index c5449fc..83fac5b 100644 --- a/config/_default/markup.toml +++ b/config/_default/markup.toml @@ -1,13 +1,10 @@ -# -- Markup -- -# These settings are required for the theme to function. - [goldmark] [goldmark.renderer] - unsafe = true +unsafe = true [highlight] - noClasses = false +noClasses = false [tableOfContents] - startLevel = 2 - endLevel = 4 +startLevel = 2 +endLevel = 4 diff --git a/config/_default/menus.en.toml b/config/_default/menus.en.toml index 82f28fd..382b099 100644 --- a/config/_default/menus.en.toml +++ b/config/_default/menus.en.toml @@ -1,35 +1,35 @@ [[main]] - name = "Services" - pageRef = "services" - weight = 10 +name = "Services" +pageRef = "services" +weight = 10 [[main]] - name = "Showcase" - pageRef = "showcase" - weight = 20 +name = "Showcase" +pageRef = "showcase" +weight = 20 [[main]] - name = "Stacks" - pageRef = "stacks" - weight = 30 - -#[[main]] -# identifier = "github" -# pre = "github" -# url = "https://git.myco.systems/explore" -# weight = 400 +name = "Stacks" +pageRef = "stacks" +weight = 30 [[footer]] - name = "Services" - pageRef = "services" - weight = 10 +identifier = "github" +pre = "github" +url = "https://git.myco.systems/explore" +weight = 400 [[footer]] - name = "Showcase" - pageRef = "showcase" - weight = 20 +name = "Services" +pageRef = "services" +weight = 10 [[footer]] - name = "Stacks" - pageRef = "stacks" - weight = 30 \ No newline at end of file +name = "Showcase" +pageRef = "showcase" +weight = 20 + +[[footer]] +name = "Stacks" +pageRef = "stacks" +weight = 30 diff --git a/config/_default/params.toml b/config/_default/params.toml index 152ec34..03a4dcb 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -1,12 +1,5 @@ -# -- Theme Options -- -# These options control how the theme functions and allow you to -# customise the display of your website. -# -# Refer to the theme docs for more details about each of these parameters. -# https://blowfish.page/docs/configuration/#theme-parameters - colorScheme = "forest" -defaultAppearance = "dark" # valid options: light or dark +defaultAppearance = "dark" autoSwitchAppearance = false enableCodeCopy = true @@ -24,93 +17,102 @@ smartTOC = true smartTOCHideUnfocusedChildren = false [header] - layout = "fixed" # valid options: basic, fixed, fixed-fill, fixed-fill-blur +layout = "fixed" [footer] - showMenu = true - showCopyright = true - showThemeAttribution = false - showAppearanceSwitcher = false - showScrollToTop = true +showMenu = true +showCopyright = true +showThemeAttribution = false +showAppearanceSwitcher = false +showScrollToTop = true [homepage] - layout = "background" # valid options: page, profile, hero, card, background, custom - # homepageImage = "/img/iceland.jpg" # used in: hero, and card - showRecent = true - showRecentItems = 6 - showMoreLink = false - showMoreLinkDest = "services" - cardView = true - cardViewScreenWidth = false - layoutBackgroundBlur = true # only used when layout equals background +layout = "background" +homepageImage = "styles/backgrounds/single-brick.png" +showRecent = true +showRecentItems = 6 +showMoreLink = false +showMoreLinkDest = "services" +cardView = true +cardViewScreenWidth = false +layoutBackgroundBlur = true [article] - showDate = false - showViews = false - showLikes = false - showDateUpdated = false - showAuthor = false - showHero = true - heroStyle = "background" # valid options: basic, big, background, thumbAndBackground - layoutBackgroundBlur = true # only used when heroStyle equals background - showBreadcrumbs = true - showDraftLabel = true - showEdit = false - editAppendPath = false - seriesOpened = false - showHeadingAnchors = true - showPagination = true - invertPagination = false - showReadingTime = true - showTableOfContents = true - showRelatedContent = true - relatedContentLimit = 6 - showTaxonomies = true - showAuthorsBadges = true - showWordCount = false - showSummary = true - sharingLinks = [ "linkedin", "twitter", "reddit", "whatsapp", "telegram", "pinterest", "facebook", "email"] +showDate = false +showViews = false +showLikes = false +showDateUpdated = false +showAuthor = false +showHero = true +heroStyle = "background" +layoutBackgroundBlur = true +showBreadcrumbs = true +showDraftLabel = true +showEdit = false +editAppendPath = false +seriesOpened = false +showHeadingAnchors = true +showPagination = true +invertPagination = false +showReadingTime = true +showTableOfContents = true +showRelatedContent = true +relatedContentLimit = 6 +showTaxonomies = true +showAuthorsBadges = true +showWordCount = false +showSummary = true +sharingLinks = [ + "linkedin", + "twitter", + "reddit", + "whatsapp", + "telegram", + "pinterest", + "facebook", + "email", +] [list] - showHero = true - heroStyle = "background" # valid options: basic, big, background, thumbAndBackground - layoutBackgroundBlur = true # only used when heroStyle equals background - layoutBackgroundHeaderSpace = false - showBreadcrumbs = false - showSummary = false - showViews = true - showLikes = true - showTableOfContents = true - showCards = true - groupByYear = false - cardView = true - cardViewScreenWidth = false - constrainItemsWidth = true +showHero = true +heroStyle = "background" +layoutBackgroundBlur = true +layoutBackgroundHeaderSpace = false +showBreadcrumbs = false +showSummary = false +showViews = true +showLikes = true +showTableOfContents = true +showCards = true +groupByYear = false +cardView = true +cardViewScreenWidth = false +constrainItemsWidth = true [sitemap] - excludedKinds = ["taxonomy","term"] +excludedKinds = ["taxonomy", "term"] [taxonomy] - showTermCount = true - showHero = true - heroStyle = "background" # valid options: basic, big, background, thumbAndBackground - showBreadcrumbs = false - showViews = true - showLikes = true - showTableOfContents = true - cardView = false +showTermCount = true +showHero = true +heroStyle = "background" +showBreadcrumbs = false +showViews = true +showLikes = true +showTableOfContents = true +cardView = false [term] - showHero = true - heroStyle = "background" # valid options: basic, big, background, thumbAndBackground - showBreadcrumbs = false - showViews = true - showLikes = true - showTableOfContents = true - groupByYear = false - cardView = true - cardViewScreenWidth = false - +showHero = true +heroStyle = "background" +showBreadcrumbs = false +showViews = true +showLikes = true +showTableOfContents = true +groupByYear = false +cardView = true +cardViewScreenWidth = false + [firebase] [fathomAnalytics]