mirror of
https://github.com/monero-project/monero-site.git
synced 2024-11-16 07:47:48 +00: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 changed files with 7 additions and 1 deletions
|
@ -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 a new issue