Merge pull request #1592

make onion link point to the currently visited page
This commit is contained in:
luigi1111 2021-05-04 12:57:01 -04:00 committed by GitHub
commit b5db9e2e4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1 +1,7 @@
http://monerotoruzizulg5ttgat2emf4d6fbmiea25detrmmy7erypseyteyd.onion/
{% capture onion_url %}
{% if site.lang == "en" %}
http://monerotoruzizulg5ttgat2emf4d6fbmiea25detrmmy7erypseyteyd.onion{{ page.url }}
{% else %}
http://monerotoruzizulg5ttgat2emf4d6fbmiea25detrmmy7erypseyteyd.onion/{{ site.lang }}{{ page.url }}
{% endif %}
{% endcapture %}{{ onion_url | strip }}