summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2024-04-28 17:33:09 +0200
committerChristoph Cullmann <cullmann@kde.org>2024-04-28 17:33:09 +0200
commite77051ccc4b47951bfa4fde2be436b1bb2fb113b (patch)
treef0b75ee3521da9c8cd39dac4359212348f70e4e8 /config
parent4b355837824ac2422d371acef790f0f4249255c7 (diff)
use https://github.com/nunocoracao/blowfish.git
Diffstat (limited to 'config')
-rw-r--r--config/_default/hugo.toml65
-rw-r--r--config/_default/languages.en.toml27
-rw-r--r--config/_default/markup.toml13
-rw-r--r--config/_default/menus.en.toml80
-rw-r--r--config/_default/params.toml117
5 files changed, 302 insertions, 0 deletions
diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml
new file mode 100644
index 0000000..1218e9b
--- /dev/null
+++ b/config/_default/hugo.toml
@@ -0,0 +1,65 @@
+# -- Site Configuration --
+# Refer to the theme docs for more details about each of these parameters.
+# https://blowfish.page/docs/getting-started/
+
+theme = "blowfish"
+baseURL = "https://cullmann.io/"
+defaultContentLanguage = "en"
+disableLanguages = [] #to allow translation work requiring shipping to production
+
+# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles
+
+enableRobotsTXT = true
+paginate = 100
+summaryLength = 30
+hasCJKLanguage = true
+
+buildDrafts = false
+buildFuture = false
+
+[imaging]
+ anchor = 'Center'
+
+[taxonomies]
+ tag = "tags"
+ category = "categories"
+ author = "authors"
+ series = "series"
+
+[sitemap]
+ changefreq = 'always'
+ filename = 'sitemap.xml'
+ priority = 0.5
+
+[outputs]
+ home = ["HTML", "RSS", "JSON"]
+
+[related]
+ threshold = 0
+ toLower = false
+
+ [[related.indices]]
+ name = "tags"
+ weight = 100
+
+ [[related.indices]]
+ name = "categories"
+ weight = 100
+
+ [[related.indices]]
+ name = "series"
+ weight = 50
+
+ [[related.indices]]
+ name = "authors"
+ weight = 20
+
+ [[related.indices]]
+ name = "date"
+ 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
new file mode 100644
index 0000000..21bb53d
--- /dev/null
+++ b/config/_default/languages.en.toml
@@ -0,0 +1,27 @@
+languageCode = "en"
+languageName = "English"
+weight = 1
+title = "Ignorance is bliss..."
+
+[params]
+ displayName = "English"
+ isoCode = "en"
+ rtl = false
+ dateFormat = "2 January 2006"
+ logo = "images/christoph_avatar.png"
+ description = "Ignorance is bliss..."
+
+[author]
+ name = "Christoph Cullmann"
+ image = "images/christoph_avatar.jpg"
+ headline = "Welcome to Christoph Cullmann's web site."
+ bio = "Welcome to Christoph Cullmann's web site."
+ links = [
+ { github = "https://github.com/christoph-cullmann" },
+ { gitlab = "https://gitlab.com/cullmann" },
+ { reddit = "https://www.reddit.com/user/ChristophCullmann" },
+ { mastodon = "https://mastodon.social/@cullmann" },
+ # { ycombinator = "https://news.ycombinator.com/user?id=cullmann" },
+ { youtube = "https://youtube.com/ChristophCullmann" },
+ { email = "mailto:christoph@cullmann.io" }
+ ]
diff --git a/config/_default/markup.toml b/config/_default/markup.toml
new file mode 100644
index 0000000..c5449fc
--- /dev/null
+++ b/config/_default/markup.toml
@@ -0,0 +1,13 @@
+# -- Markup --
+# These settings are required for the theme to function.
+
+[goldmark]
+[goldmark.renderer]
+ unsafe = true
+
+[highlight]
+ noClasses = false
+
+[tableOfContents]
+ startLevel = 2
+ endLevel = 4
diff --git a/config/_default/menus.en.toml b/config/_default/menus.en.toml
new file mode 100644
index 0000000..5cddf95
--- /dev/null
+++ b/config/_default/menus.en.toml
@@ -0,0 +1,80 @@
+# -- Main Menu --
+# The main menu is displayed in the header at the top of the page.
+# Acceptable parameters are name, pageRef, page, url, title, weight.
+#
+# The simplest menu configuration is to provide:
+# name = The name to be displayed for this menu link
+# pageRef = The identifier of the page or section to link to
+#
+# By default the menu is ordered alphabetically. This can be
+# overridden by providing a weight value. The menu will then be
+# ordered by weight from lowest to highest.
+
+[[main]]
+ name = "Posts"
+ pageRef = "posts"
+ weight = 10
+
+[[main]]
+ name = "Projects"
+ pageRef = "projects"
+ weight = 20
+
+[[main]]
+ name = "Academic"
+ pageRef = "academic"
+ weight = 30
+
+[[main]]
+ name = "Links"
+ pageRef = "links"
+ weight = 40
+
+[[main]]
+ name = "About"
+ pageRef = "about"
+ weight = 50
+
+[[main]]
+ name = "Impressum"
+ pageRef = "impressum"
+ weight = 50
+
+
+#[[main]]
+# name = "Test"
+# pageRef = "pagTest"
+# weight = 1000
+#
+# [[main]]
+# identifier = "twitter"
+# pre = "x-twitter"
+# url = "https://twitter.com/burufugu"
+# weight = 200
+
+#[[main]]
+# identifier = "mastodon"
+# pre = "mastodon"
+# weight = 300
+# url = "https://masto.ai/@blowfish"
+
+# [[main]]
+# identifier = "github"
+# pre = "github"
+# url = "https://github.com/nunocoracao/blowfish"
+# weight = 400
+
+
+# -- Footer Menu --
+# The footer menu is displayed at the bottom of the page, just before
+# the copyright notice. Configure as per the main menu above.
+
+ [[footer]]
+ name = "Tags"
+ pageRef = "tags"
+ weight = 10
+ #
+ # [[footer]]
+ # name = "Authors"
+ # pageRef = "authors"
+ # weight = 20
diff --git a/config/_default/params.toml b/config/_default/params.toml
new file mode 100644
index 0000000..a00e089
--- /dev/null
+++ b/config/_default/params.toml
@@ -0,0 +1,117 @@
+# -- 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 = "blowfish"
+defaultAppearance = "dark" # valid options: light or dark
+autoSwitchAppearance = true
+
+enableSearch = true
+enableCodeCopy = true
+
+mainSections = ["posts"]
+# robots = ""
+
+disableImageOptimization = false
+disableTextInHeader = false
+
+defaultBackgroundImage = "/img/background.svg"
+defaultFeaturedImage = "/img/featured.svg"
+
+highlightCurrentMenuArea = true
+smartTOC = true
+smartTOCHideUnfocusedChildren = false
+
+[header]
+ layout = "fixed" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur
+
+[footer]
+ showMenu = true
+ showCopyright = true
+ showThemeAttribution = true
+ 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 = true
+ showMoreLinkDest = "posts"
+ cardView = true
+ cardViewScreenWidth = false
+ layoutBackgroundBlur = true # only used when layout equals background
+
+[article]
+ showDate = false
+ showViews = true
+ showLikes = true
+ showDateOnlyInArticle = false
+ showDateUpdated = false
+ showAuthor = true
+ # showAuthorBottom = false
+ showHero = true
+ heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
+ layoutBackgroundBlur = true # only used when heroStyle equals background
+ showBreadcrumbs = true
+ showDraftLabel = true
+ showEdit = true
+ editURL = "https://github.com/nunocoracao/blowfish/tree/main/exampleSite/content"
+ editAppendPath = true
+ seriesOpened = false
+ showHeadingAnchors = true
+ showPagination = true
+ invertPagination = false
+ showReadingTime = true
+ showTableOfContents = true
+ showRelatedContent = true
+ relatedContentLimit = 6
+ showTaxonomies = true
+ showAuthorsBadges = true
+ showWordCount = false
+ sharingLinks = []
+ showZenMode = true
+
+[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 = false
+
+[sitemap]
+ excludedKinds = []
+
+[taxonomy]
+ showTermCount = true
+ showHero = true
+ heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
+ 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