monero-site/_includes/onion.html
erciccione 31a1b6147e
make onion link point to the currently visited page
onion.html now points to the page the user is on. The onion-location
button will point to this page instead of the homepage.
2021-04-26 10:44:53 +02:00

7 lines
No EOL
311 B
HTML

{% 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 }}