Strip github.com to display website in buttons

This fixes the broken Magic Wormhole button
This commit is contained in:
Vincevrp 2019-01-20 17:57:24 +01:00 committed by Vince
parent 4f5522160f
commit 9f91f1a228

View File

@ -33,7 +33,7 @@
{% if include.website %}
{{include.website}}
{% else %}
{{ include.url | remove: "https://" | remove: "http://" | remove: "www." | remove: "/" }}
{{ include.url | remove: "https://" | remove: "http://" | remove: "www." | remove: "/" | remove: "github.com" }}
{% endif %}
</a>
{% if include.tor %}