mirror of
https://github.com/monero-project/monero-site.git
synced 2024-12-04 23:51:11 +02:00
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.
This commit is contained in:
parent
20dabe8a56
commit
31a1b6147e
@ -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 }}
|
Loading…
Reference in New Issue
Block a user