Merge pull request 'Fix inadvertent double slash' (#23) from fix-article-urls into main

Reviewed-on: robur/blog.robur.coop#23
This commit is contained in:
Hannes Mehnert 2024-10-28 17:08:23 +00:00
commit bc02087612
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@
</div> </div>
<div class="content"> <div class="content">
<span class="date">{{ article.date.human }}</span> <span class="date">{{ article.date.human }}</span>
<a href="/{{ article.url }}">{{ article.title }}</a><br /> <a href="{{ article.url }}">{{ article.title }}</a><br />
<p>{{ article.description }}</p> <p>{{ article.description }}</p>
<div class="bottom"> <div class="bottom">
<ul class="tags-list"> <ul class="tags-list">

View file

@ -13,7 +13,7 @@
</h3> </h3>
<ul> <ul>
{%- for article in tag.articles -%} {%- for article in tag.articles -%}
<li><a href="/{{ article.url }}">{{ article.title }}</a></li> <li><a href="{{ article.url }}">{{ article.title }}</a></li>
{%- endfor -%} {%- endfor -%}
</ul> </ul>
</div> </div>