From a19d98ce7e590e6c7f82aa08f7e9791a72e2e8bc Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 7 Jun 2020 14:14:41 +0200 Subject: 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. --- config.toml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'config.toml') 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 -- cgit v1.2.3