plain site; demo content added; re-terminal theme enabled; some theme customizations
This commit is contained in:
149
hugo.toml
Normal file
149
hugo.toml
Normal file
@@ -0,0 +1,149 @@
|
||||
baseURL = "https://blog.privacynerd.de/"
|
||||
#baseURL = "/"
|
||||
title = "Privacynerd's blog"
|
||||
theme = "re-terminal"
|
||||
|
||||
defaultContentLanguage = "en"
|
||||
defaultContentLanguageInSubdir = true
|
||||
|
||||
pagination.pagerSize = 5
|
||||
|
||||
[params]
|
||||
# dir name of your main content (default is `content/posts`).
|
||||
# the list of set content will show up on your index page (baseurl).
|
||||
contentTypeName = "posts"
|
||||
|
||||
# ["orange", "blue", "red", "green", "pink", "paper"]
|
||||
themeColor = "green"
|
||||
|
||||
# if you set this to 0, only submenu trigger will be visible
|
||||
showMenuItems = 2
|
||||
|
||||
# show selector to switch language
|
||||
showLanguageSelector = true # (default: false)
|
||||
|
||||
# set theme to full screen width
|
||||
fullWidthTheme = false # (default: false)
|
||||
|
||||
# center theme with default width
|
||||
centerTheme = true # (default: false)
|
||||
|
||||
# if your resource directory contains an image called `cover.(jpg|png|webp)`,
|
||||
# then the file will be used as a cover automatically.
|
||||
# With this option you don't have to put the `cover` param in a front-matter.
|
||||
autoCover = true
|
||||
|
||||
# set post to show the last updated
|
||||
# If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated
|
||||
#showLastUpdated = true # (default: false)
|
||||
|
||||
# set a custom favicon (default is a `themeColor` square)
|
||||
# favicon = "favicon.ico"
|
||||
|
||||
# Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author
|
||||
# updatedDatePrefix = "Updated"
|
||||
|
||||
# set all headings to their default size (depending on browser settings)
|
||||
# oneHeadingSize = true # default
|
||||
|
||||
# whether to show a page's estimated reading time
|
||||
readingTime = true # (default: false)
|
||||
|
||||
# whether to show a table of contents
|
||||
# can be overridden in a page's front-matter
|
||||
Toc = true # (default: false)
|
||||
|
||||
# set title for the table of contents
|
||||
# can be overridden in a page's front-matter
|
||||
TocTitle = "Table of Contents" # default
|
||||
|
||||
|
||||
# you can set a banner on the top of the page with a call to action
|
||||
# defaults: dismissible = false; URL is optional
|
||||
# [params.banner]
|
||||
# dismissible = false
|
||||
# text = "Check it out on GitHub"
|
||||
# url = "https://github.com/mirus-ua/hugo-theme-re-terminal"
|
||||
|
||||
|
||||
|
||||
[params.twitter]
|
||||
# set Twitter handles for Twitter cards
|
||||
# see https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started#card-and-content-attribution
|
||||
# do not include @
|
||||
creator = ""
|
||||
site = ""
|
||||
|
||||
[languages]
|
||||
[languages.en]
|
||||
languageCode = "en"
|
||||
languageName = "English"
|
||||
weight = 1
|
||||
[languages.en.params]
|
||||
subtitle = "Blog of privacynerd"
|
||||
owner = ""
|
||||
keywords = ""
|
||||
copyright = "© 2025 Benjamin Burkhardt"
|
||||
menuMore = "Show more"
|
||||
readMore = "Read more"
|
||||
readOtherPosts = "Read other posts"
|
||||
newerPosts = "Newer posts"
|
||||
olderPosts = "Older posts"
|
||||
missingContentMessage = "Page not found..."
|
||||
missingBackButtonLabel = "Back to home page"
|
||||
minuteReadingTime = "min read"
|
||||
words = "words"
|
||||
imprint = "Imprint"
|
||||
|
||||
[languages.en.params.logo]
|
||||
logoText = "Privacynerd's blog"
|
||||
logoHomeLink = "/en"
|
||||
|
||||
[languages.en.menu]
|
||||
[[languages.en.menu.main]]
|
||||
identifier = "about"
|
||||
name = "About"
|
||||
url = "/en/about"
|
||||
weight = 10
|
||||
[[languages.en.menu.main]]
|
||||
identifier = "posts"
|
||||
name = "Posts"
|
||||
url = "/en/posts"
|
||||
weight = 20
|
||||
|
||||
|
||||
[languages.de]
|
||||
languageCode = "de"
|
||||
languageName = "Deutsch"
|
||||
weight = 2
|
||||
[languages.de.params]
|
||||
subtitle = "Blog von privacynerd"
|
||||
owner = ""
|
||||
keywords = ""
|
||||
copyright = "© 2025 Benjamin Burkhardt"
|
||||
menuMore = "Mehr zeigen"
|
||||
readMore = "Mehr lesen"
|
||||
readOtherPosts = "Andere Posts lesen"
|
||||
newerPosts = "Neuere Posts"
|
||||
olderPosts = "Ältere Posts"
|
||||
missingContentMessage = "Seite konnte nicht gefunden werden..."
|
||||
missingBackButtonLabel = "Zurück zur Startseite"
|
||||
minuteReadingTime = "Minuten Lesezeit"
|
||||
words = "Wörter"
|
||||
imprint = "Impressum"
|
||||
|
||||
[languages.de.params.logo]
|
||||
logoText = "Privacynerd's blog"
|
||||
logoHomeLink = "/de"
|
||||
|
||||
[languages.de.menu]
|
||||
[[languages.de.menu.main]]
|
||||
identifier = "about"
|
||||
name = "Über"
|
||||
url = "/de/about"
|
||||
weight = 10
|
||||
[[languages.de.menu.main]]
|
||||
identifier = "posts"
|
||||
name = "Posts"
|
||||
url = "/de/posts"
|
||||
weight = 20
|
||||
Reference in New Issue
Block a user