From ef2657c050ab6d1ed41eb9a3b2c7a9a3925b35ad Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 7 Jun 2020 15:57:26 +0200 Subject: Fix issues with paths on duburls. --- content/_index.en.md | 2 +- content/_index.md | 2 +- content/license.en.md | 14 ++++++++++++++ content/license.md | 14 -------------- templates/base.html | 2 +- templates/shortcodes/figure.html | 2 +- 6 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 content/license.en.md delete mode 100644 content/license.md diff --git a/content/_index.en.md b/content/_index.en.md index 3050164..dd02949 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/). +Commons Attribution-ShareAlike licence. Read more [about rights and license here](@/license.en.md). diff --git a/content/_index.md b/content/_index.md index fa43b0e..769f65a 100644 --- a/content/_index.md +++ b/content/_index.md @@ -12,4 +12,4 @@ Nedenfor finner du en oversikt over de forskjellige seksjonene på disse sidene, en kort liste over de siste innleggene i hver seksjon. Innholdet på disse sidene er gjort tilgjengelig, og kan fritt gjenbrukes så lenge -du oppgir kilde. Les mer [om rettigheter og lisens her](/lisens/). +du oppgir kilde. Les mer [om rettigheter og lisens her](@/lisens.md). diff --git a/content/license.en.md b/content/license.en.md new file mode 100644 index 0000000..24b9f10 --- /dev/null +++ b/content/license.en.md @@ -0,0 +1,14 @@ ++++ +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/license.md b/content/license.md deleted file mode 100644 index 24b9f10..0000000 --- a/content/license.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/templates/base.html b/templates/base.html index 0724201..1d7b588 100644 --- a/templates/base.html +++ b/templates/base.html @@ -8,7 +8,7 @@ {% if page.title %}{{ page.title }}{% else %}{{ config.title }}{% endif %} - + {# #} diff --git a/templates/shortcodes/figure.html b/templates/shortcodes/figure.html index 5a83112..98332a0 100644 --- a/templates/shortcodes/figure.html +++ b/templates/shortcodes/figure.html @@ -1,5 +1,5 @@
- +
{{ body | markdown | safe}}
-- cgit v1.2.3