Revert "Relative links for everything"

This reverts commit ff484f854e.
This commit is contained in:
2020-05-31 21:59:18 +02:00
parent 156c0eaa89
commit 8f1eaed231
10 changed files with 19 additions and 19 deletions
+4 -4
View File
@@ -25,7 +25,7 @@
<section id="content" class="body">
<header>
<h2 class="entry-title">
<a href="./{{ article.url }}" rel="bookmark"
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(article) }}
@@ -40,7 +40,7 @@
{% endif %}
{% if article.authors %}
<address class="vcard author">
By {% for author in article.authors %}<a class="url fn" href="./{{ author.url }}">{{ author }}</a>{% endfor %}
By {% for author in article.authors %}<a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>{% endfor %}
</address>
{% endif %}
</div>
@@ -51,14 +51,14 @@
<footer class="post-info">
{% if article.category %}
<div class="category">
Category: <a href="./{{ article.category.url }}">{{ article.category }}</a>
Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
</div>
{% endif %}
{% if article.tags %}
<div class="tags">
Tags:
{% for tag in article.tags %}
<a href="./{{ tag.url }}">{{ tag }}</a>
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>
{% endfor %}
</div>
{% endif %}