Commit d8369471 authored by Jérôme Ortais's avatar Jérôme Ortais
Browse files

Toujours des URL incomplètes

parent c4cfe450
Pipeline #61209 passed with stages
in 41 seconds
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
{% for cat_name, article_list in categories if cat_name=="telecharger" %} {% for cat_name, article_list in categories if cat_name=="telecharger" %}
{% for article in article_list %} {% for article in article_list %}
<li> <li>
<a href="{{ article.slug }}">{{ article.title }}</a> <a href="{{ SITEURL }}/{{ article.slug }}">{{ article.title }}</a>
</li> </li>
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
{% endif %} {% endif %}
{% if 'hidden' not in article.tags %} {% if 'hidden' not in article.tags %}
<li> <li>
<a href="{{ article.slug }}">{{ article.title }}</a> <a href="{{ SITEURL }}/{{ article.slug }}">{{ article.title }}</a>
</li> </li>
{% endif %} {% endif %}
{% if loop.last %} {% if loop.last %}
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
{% for article in article_list %} {% for article in article_list %}
{% if loop.first %} {% if loop.first %}
<li> <li>
<a href="{{ article.slug }}">Télécharger</a> <a href="{{ SITEURL }}/{{ article.slug }}">Télécharger</a>
</li> </li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
......
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
{% for cat_name, article_list in categories if cat_name=="telecharger" %} {% for cat_name, article_list in categories if cat_name=="telecharger" %}
{% for article in article_list %} {% for article in article_list %}
{% if loop.first %} {% if loop.first %}
<a class="button" href="{{ article.slug }}"><span>Installer chez soi</span></a> <a class="button" href="{{ SITEURL }}/{{ article.slug }}"><span>Installer chez soi</span></a>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
{{ article.date|strftime('%d.%m.%y') }} {{ article.date|strftime('%d.%m.%y') }}
</time> </time>
</h5> </h5>
<a href="{{ article.slug }}"><h4>{{ article.title }}</h4></a> <a href="{{ SITEURL }}/{{ article.slug }}"><h4>{{ article.title }}</h4></a>
{{ article.content }} {{ article.content }}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment