diff options
-rw-r--r-- | content/_index.en.md | 2 | ||||
-rw-r--r-- | content/_index.md | 2 | ||||
-rw-r--r-- | content/license.en.md (renamed from content/license.md) | 0 | ||||
-rw-r--r-- | templates/base.html | 2 | ||||
-rw-r--r-- | templates/shortcodes/figure.html | 2 |
5 files changed, 4 insertions, 4 deletions
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.md b/content/license.en.md index 24b9f10..24b9f10 100644 --- a/content/license.md +++ b/content/license.en.md 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 @@ <title>{% if page.title %}{{ page.title }}{% else %}{{ config.title }}{% endif %}</title> <meta name="description" content="{{ config.description }}"> - <link rel="stylesheet" type="text/css" href="/styles.css"> + <link rel="stylesheet" type="text/css" href="{{ get_url(path="/styles.css") | safe }}"> {# <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> #} </head> 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 @@ <div class="figure"> - <img src="/{{ page.path | safe }}{{ img }}" {% if alt %}alt="[{{ alt }}]"{% endif %}> + <img src="{{ get_url(path=page.path ~ img) | safe }}" {% if alt %}alt="[{{ alt }}]"{% endif %}> <div class="caption"> {{ body | markdown | safe}} </div> |