From 6d9f247612cea42e727b9e5cbba75c6147afcbdc Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Mon, 8 Jun 2020 15:35:20 +0200 Subject: Connect translations of license pages. Let them have the same source file base name, as that's how zola connects them. Manually set `slug` in front matter to give them sensible urls. --- content/_index.en.md | 2 +- content/license.en.md | 14 -------------- content/lisens.en.md | 14 ++++++++++++++ content/lisens.md | 1 - 4 files changed, 15 insertions(+), 16 deletions(-) delete mode 100644 content/license.en.md create mode 100644 content/lisens.en.md diff --git a/content/_index.en.md b/content/_index.en.md index dd02949..d924744 100644 --- a/content/_index.en.md +++ b/content/_index.en.md @@ -12,4 +12,4 @@ lists of the latest posts in each section. Note that most content will be in nor not all posts will show here. The content on these pages is made available, and can be freely reused under the Creative -Commons Attribution-ShareAlike licence. Read more [about rights and license here](@/license.en.md). +Commons Attribution-ShareAlike licence. Read more [about rights and license here](@/lisens.en.md). diff --git a/content/license.en.md b/content/license.en.md deleted file mode 100644 index 24b9f10..0000000 --- a/content/license.en.md +++ /dev/null @@ -1,14 +0,0 @@ -+++ -title = "License and rights" -lang = "en" -+++ - -The content of these pages have been made available under a [Creative Commons -Attribution ShareAlike](https://creativecommons.org/licenses/by-sa/4.0/) -license. - -This means you are free to use the contents of these pages in your own derived -works, either completely or in part. You only have to give attribution to this -website, and share your derived work on the same terms. - -{{ license() }} diff --git a/content/lisens.en.md b/content/lisens.en.md new file mode 100644 index 0000000..adf580a --- /dev/null +++ b/content/lisens.en.md @@ -0,0 +1,14 @@ ++++ +title = "License and rights" +slug = "license" ++++ + +The content of these pages have been made available under a [Creative Commons +Attribution ShareAlike](https://creativecommons.org/licenses/by-sa/4.0/) +license. + +This means you are free to use the contents of these pages in your own derived +works, either completely or in part. You only have to give attribution to this +website, and share your derived work on the same terms. + +{{ license() }} diff --git a/content/lisens.md b/content/lisens.md index 1d04ea0..c94fa47 100644 --- a/content/lisens.md +++ b/content/lisens.md @@ -1,6 +1,5 @@ +++ title = "Lisens og rettigheter" -lang = "no" +++ Innholdet på disse sidene er gjort tilgjengelig under en [Creative Commons -- cgit v1.2.3