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>
<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 }}
</a>
</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)) %}
<article>
<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 }}
</a>
</h2>