Strip github.com to display website in buttons

This fixes the broken Magic Wormhole button
This commit is contained in:
Vincevrp authored and Vince committed 2019-01-20 22:39:38 +01:00
1 parent 4f5522160f
commit 9f91f1a228
1 file changed
+1 -1
+1 -1
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 %}