Also showing the reading time now; with custom reading speeds for each language
This commit is contained in:
38
hugo.toml
38
hugo.toml
@@ -28,6 +28,7 @@ pagination.pagerSize = 5
|
||||
# show selector to switch language
|
||||
showLanguageSelector = true # (default: false)
|
||||
|
||||
# ↓ currently in a PR (and in my fork in the my-master branch)
|
||||
# the language selector always links...
|
||||
# - true: the translated content equivalent (e.g. /en/posts/some-post directly → /de/posts/some-post),
|
||||
# - false: just to the translated root (e.g. /en/posts/some-post → /de)
|
||||
@@ -82,7 +83,7 @@ pagination.pagerSize = 5
|
||||
languageName = "English"
|
||||
weight = 1
|
||||
[languages.en.params]
|
||||
readingSpeed = 108
|
||||
readingSpeed = 108 # currently in a PR (and in my fork in the my-master branch)
|
||||
subtitle = "Blog of privacynerd"
|
||||
owner = ""
|
||||
keywords = ""
|
||||
@@ -97,16 +98,20 @@ pagination.pagerSize = 5
|
||||
# set title for the table of contents
|
||||
# can be overridden in a page's front-matter
|
||||
TocTitle = "Table of Contents" # default
|
||||
words = "words" # (default: words)
|
||||
|
||||
# below are items added by BlueFox (me)
|
||||
_menu = "Menu"
|
||||
_minute = "minute"
|
||||
_minutes = "minutes"
|
||||
_readingTime = "to read"
|
||||
_word = "word"
|
||||
_words = "words"
|
||||
_imprint = "Imprint"
|
||||
_by = "by"
|
||||
_made_by = "made by"
|
||||
_customized = "customized"
|
||||
|
||||
# and the following are currently in a PR (and in my fork in the my-master branch)
|
||||
minute = "minute"
|
||||
minutes = "minutes"
|
||||
to_read = "to read"
|
||||
word = "word"
|
||||
|
||||
[languages.en.params.logo]
|
||||
logoText = "Privacynerd's blog"
|
||||
logoHomeLink = "/en"
|
||||
@@ -133,7 +138,7 @@ pagination.pagerSize = 5
|
||||
languageName = "Deutsch"
|
||||
weight = 2
|
||||
[languages.de.params]
|
||||
readingSpeed = 111
|
||||
readingSpeed = 111 # currently in a PR (and in my fork in the my-master branch)
|
||||
subtitle = "Blog von privacynerd"
|
||||
owner = ""
|
||||
keywords = ""
|
||||
@@ -148,16 +153,21 @@ pagination.pagerSize = 5
|
||||
# set title for the table of contents
|
||||
# can be overridden in a page's front-matter
|
||||
TocTitle = "Inhaltsverzeichnis" # default
|
||||
words = "Wörter"
|
||||
|
||||
# below are items added by BlueFox (me)
|
||||
_menu = "Menü"
|
||||
_minute = "Minute"
|
||||
_minutes = "Minuten"
|
||||
_readingTime = "Lesezeit"
|
||||
_word = "Wort"
|
||||
_words = "Wörter"
|
||||
_imprint = "Impressum"
|
||||
_by = "von"
|
||||
_made_by = "erstellt von"
|
||||
_customized = "angepasst"
|
||||
|
||||
# and the following are currently in a PR (and in my fork in the my-master branch)
|
||||
minute = "Minute"
|
||||
minutes = "Minuten"
|
||||
to_read = "Lesezeit"
|
||||
word = "Wort"
|
||||
|
||||
|
||||
[languages.de.params.logo]
|
||||
logoText = "Privacynerd's blog"
|
||||
logoHomeLink = "/de"
|
||||
|
||||
Reference in New Issue
Block a user