chore: remove trailing slashes from URLs

This commit is contained in:
Oliver Davies 2022-02-27 12:53:30 +00:00
parent 2838e23ce3
commit 0752bf9385
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<article> <article>
<h2> <h2>
<a class="dark:text-blue-400 text-blue-primary" href="{{ post.url }}"> <a class="dark:text-blue-400 text-blue-primary" href="{{ post.url|trim('/', 'right') }}">
{{ post.title }} {{ post.title }}
</a> </a>
</h2> </h2>

View file

@ -13,7 +13,7 @@ Drupal, automated testing, Git, CSS, and systems administration.</p>
{% for talk in data.talks|sort((a, b) => get_last_event_date_for_talk(a) < get_last_event_date_for_talk(b)) %} {% for talk in data.talks|sort((a, b) => get_last_event_date_for_talk(a) < get_last_event_date_for_talk(b)) %}
<article> <article>
<h2> <h2>
<a class="dark:text-blue-400 text-blue-primary" href="{{ talk.url }}"> <a class="dark:text-blue-400 text-blue-primary" href="{{ talk.url|trim('/', 'right') }}">
{{ talk.title }} {{ talk.title }}
</a> </a>
</h2> </h2>