Update to theme anake v2 and use it as hugo module instead of git submodule

This commit is contained in:
Señor Rolando 2024-11-17 17:00:42 +01:00
parent 615966247f
commit e7525403dd
8 changed files with 55 additions and 33 deletions

View file

@ -2,15 +2,19 @@ title = "Señor Rolando"
subtitle = "Lesender Läufer."
baseURL = "https://sr-rolando.com"
languageCode = "de-de"
theme = "ananke"
theme = ["github.com/theNewDynamic/gohugo-theme-ananke/v2"]
resourceDir = "../resources"
DefaultContentLanguage = "de"
SectionPagesMenu = "no-default" # Prevent the automatic Hugo menu
Paginate = 10
# googleAnalytics = ""
defaultContentLanguage = "de"
sectionPagesMenu = "no-default" # Prevent the automatic Hugo menu
enableRobotsTXT = true
[services.googleAnalytics]
id = ''
[pagination]
pagerSize = 10
[sitemap]
changefreq = "monthly"
priority = 0.5
@ -19,14 +23,17 @@ filename = "sitemap.xml"
[params]
text_color = ""
author = ""
# favicon = ""
site_logo = ""
description = "Lesender Läufer."
# Hero on start page. Choose a background color from any on this page: https://tachyons.io/docs/themes/skins/ and preface it with "bg-"
background_color_class = "bg-dark-gray"
# choose fitting and alignment styles for the featured image using Tachyons classes such as "cover|contain" for fitting and "bg-top|bg-center|bg-bottom" for alignment, or add any other class space-separated to customize further
featured_image_class = "cover bg-top"
# choose a color dimming class for the page or site header from any on this page: https://tachyons.io/docs/themes/skins/, preface it with "bg-" and add the value such as "-X0" where X is in [1,9]
cover_dimming_class = "bg-black-60"
recent_posts_number = 3
mainSections = ["post","posts"]
logo = "img/avatar-icon.png" # Expecting square dimensions
# mainSections = ["post", "posts"]
logo = "img/avatar-icon.png" # Expecting square dimensions
favicon = "/image/favicon.ico"
dateFormat = "2. January 2006"
commit = false
@ -38,16 +45,16 @@ comments = false
readingTime = true
wordCount = true
useHLJS = true
socialShare = false # Don't add share buttons on posts
delayDisqus = true
socialShare = false # Don't add share buttons on posts
delayDisqus = false
showRelatedPosts = true
# hideAuthor = true
[permalinks]
[permalinks.page]
post = '/:year/:month/:slug/'
[permalinks.section]
post = '/posts/'
[permalinks.page]
post = '/:year/:month/:slug/'
[permalinks.section]
post = '/posts/'
[Author]
# Set only your "username" for default hosts and full URLs otherwise (e.g., "https://MyGitLab.org/username")
@ -55,30 +62,36 @@ name = "Señor Rolando"
website = "sr-rolando.com"
# email = "web@sr-rolando.com"
[[params.ananke_socials]]
name = "mastodon"
url = "https://fnordon.de/@sr_rolando/"
rel = "me noopener"
[params.ananke.social.follow]
new_window_icon = true
# Options: ["bluesky", "mastodon", "rss"]
networks = ["mastodon", "rss"]
[[params.ananke_socials]]
[params.ananke.social.bluesky]
profilelink = "https://bsky.app/profile/sr-rolando.bsky.social"
[params.ananke.social.mastodon]
profileLink = "https://fnordon.de/@sr_rolando/"
[params.ananke.social.rss]
name = "rss"
url = "/index.xml"
# No icon for Strava in Ananke for now
# Doc for adding: https://github.com/theNewDynamic/gohugo-theme-ananke#social-icons-customization
# [[params.ananke_socials]]
# [params.ananke.social.strava]
# name = "strava"
# url = "https://www.strava.com/athletes/8075985"
[[menu.main]]
name = "Texte"
url = "/book"
weight = 1
name = "Texte"
url = "/book"
weight = 1
[[menu.main]]
name = "Läufe"
url = "/laeufer"
weight = 2
name = "Läufe"
url = "/laeufer"
weight = 2
# Allow raw html div to be used. Mainly for posts imported from Wordpress.
[markup.goldmark.renderer]