diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-06-07 14:14:41 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-06-07 14:14:41 +0200 |
commit | a19d98ce7e590e6c7f82aa08f7e9791a72e2e8bc (patch) | |
tree | 3420ab92e02e3b1e2994be7198a83c667118ffe1 /config.toml | |
parent | 043710894c648f91a3c9acd11800d67f3b872670 (diff) | |
download | rabalderz-a19d98ce7e590e6c7f82aa08f7e9791a72e2e8bc.tar.gz rabalderz-a19d98ce7e590e6c7f82aa08f7e9791a72e2e8bc.tar.bz2 rabalderz-a19d98ce7e590e6c7f82aa08f7e9791a72e2e8bc.zip |
Split english and norwegian posts.
This turned out a bit different than I initially though. The english and
norwegian sections will essentially be separate. Afaict there's no
direct way to make a "combined view" listing both english and norwegian
posts. However, I think that's fine. Let's roll with this for now.
Diffstat (limited to 'config.toml')
-rw-r--r-- | config.toml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/config.toml b/config.toml index 4343b80..458949f 100644 --- a/config.toml +++ b/config.toml @@ -16,18 +16,25 @@ highlight_code = true taxonomies = [ { name = "tags", rss = true }, + { name = "tags", rss = true, lang = "en" }, ] languages = [ { code = "nb", feed = true }, - { cdoe = "en", feed = true }, + { code = "en", feed = true }, ] default_language = "nb" -[translations] -nb = { moreprompt = "Les mer..." } -en = { moreprompt = "More..." } +[translations.nb] +moreprompt = "Les mer..." +latest = "Siste innlegg:" +allposts = "se alle innleggene i" + +[translations.en] +moreprompt = "More..." +latest = "Latest posts:" +allposts = "View all posts in" [extra] # Put all your custom variables here |