Remove extra slashes

This commit is contained in:
Oliver Davies 2019-06-06 20:07:10 +01:00
parent 192cfd534e
commit 34acf6b8f7

View file

@ -157,5 +157,5 @@ use: [posts]
/youtube {{ site.youtube.channel.url }}
{% for post in data.posts if post.external_url %}
/{{ post.url }} {{ post.external_url }}
{{ post.url|trim('/', 'right') }} {{ post.external_url }}
{% endfor %}