mirror of
https://github.com/monero-project/monero-site.git
synced 2024-12-22 19:49:26 +00:00
Prepare repo for deployment of onion service
- Add link to the footer - Add _includes/onion.html (the address will be pulled from here anywere on the website) - Add /onion.txt which is signed by binaryFate and contains the onion addresses - Add onion-location header as a meta tag in _includes/head.html Co-authored-by: binaryFate <binaryfate@getmonero.org>
This commit is contained in:
parent
119ff31124
commit
9d868ef1f0
6 changed files with 42 additions and 0 deletions
|
@ -58,6 +58,11 @@ A few random points of note:
|
|||
- If you want to add a new page to the navigation, you should go to ALL LANGUAGES in the `_data/lang` folder and add the page.
|
||||
- It is strongly strongly STRONGLY encouraged that if you make a change, you - at the minimum - test it on your local machine before submitting a PR. Sometimes unexpected things may happen due to a change. If you change a page, check the whole page on multiple screen sizes and browsers to make sure there wasn't any collateral damage.
|
||||
|
||||
### Tor
|
||||
This website is available natively on Tor. The onion address is in `_includes/onion.html` and a signed document containing the same address is in `/onion.txt`. The address in these 2 files must *always* match. The `onion.txt` files also includes the onion address of the 'downloads' subdomain.
|
||||
|
||||
If you want to post getmonero's onion address somewhere on the website, don't simply write it, instead include it using `{% include onion.html %}`. This avoids problems with typos and allow us top change the address only in one file if necessary.
|
||||
|
||||
## Translation
|
||||
In this section you'll find the info you need to translate a page and add a new translation, but keep in mind that Monero has a [Localization Workgroup](https://github.com/monero-ecosystem/monero-translations) who coordinate and give support to translators-volunteers. For live support/request of infos, come chat on `#monero-translations` (Freenode/IRC, riot/matrix, MatterMost).
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
<div class="row center-xs">
|
||||
<div class="footer-links">
|
||||
<ul class="list-unstyled list-inline">
|
||||
<li><a href="{% include onion.html %}" class="white footer-link"><img class="tor" src="/img/onion-tor.svg" alt="onion service">Tor Onion Service</a></li>
|
||||
<li><a href="{{ site.baseurl }}/legal/" class="white footer-link">{% t footer.legal %}</a></li>
|
||||
<li><a href="https://github.com/monero-project/monero-site" class="white footer-link">{% t footer.source %}</a></li>
|
||||
<li><a href="{{ site.baseurl}}/sitemap.xml" class="white footer-link">Sitemap</a></li>
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
<meta property="og:site_name" content="{% t global.sitename %}">
|
||||
<meta property="og:url" content="{{ site.url }}/{{ page.url }}">
|
||||
<meta property="og:type" content="website">
|
||||
<meta http-equiv="onion-location" content="{% include onion.html %}" />
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/meta/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/meta/favicon-32x32.png">
|
||||
|
|
1
_includes/onion.html
Normal file
1
_includes/onion.html
Normal file
|
@ -0,0 +1 @@
|
|||
http://monerotoruzizulg5ttgat2emf4d6fbmiea25detrmmy7erypseyteyd.onion/
|
|
@ -2893,6 +2893,10 @@ footer a.white:hover, a.white:focus {
|
|||
padding-right: 0.2rem;
|
||||
}
|
||||
|
||||
.footer-links img.tor {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 75rem) {
|
||||
|
||||
}
|
||||
|
|
30
onion.txt
Normal file
30
onion.txt
Normal file
|
@ -0,0 +1,30 @@
|
|||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
# This file contains the onion addresses used by getmonero.org and
|
||||
# downloads.getmonero.org
|
||||
#
|
||||
# You can check the signature against binaryFate key available in
|
||||
# Monero source code at utils/gpg_keys/binaryfate.asc.
|
||||
#
|
||||
# Main site (getmonero.org):
|
||||
http://monerotoruzizulg5ttgat2emf4d6fbmiea25detrmmy7erypseyteyd.onion
|
||||
#
|
||||
# Download subdomain (downloads.getmonero.org):
|
||||
http://dlmonerotqz47bjuthtko2k7ik2ths4w2rmboddyxw4tz4adebsmijid.onion
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAEBCAAdFiEEgaxZH+nEtlxYBq/D8K9NRioL35IFAmAjBeIACgkQ8K9NRioL
|
||||
35JaTg/9GWJ7ogJD64TgtAKDV5vPH+mPVMQt47J0znMBhR3z++cNIaESh0mkpAje
|
||||
2YTRdTUjFUaZq8emosV+xdzo6KamfeA0hapVeI1zQ6eBNzjYIjN/jOD2/hcFi/6n
|
||||
3ywG7nmFlnnnSs8ef/MNXq0HiE8OsyQZfD1UBsIazIJTXr8aKvvsJG8IPmHggTr9
|
||||
mY7LIQdtA7wZqdaSpnN4Ah9HrRF3/b2b6Hwnz1ACbi8X4mdAQ07Y87GhowUWMwoV
|
||||
Ki0k+T500kA09AuS7RD0YDJxi3N4i7hU2d8vJCUlgGQMrdHZMZiy3DLVvZAdyOzR
|
||||
QnE4Y0Q3cBUcRRPIrAXNBbYWtUUNh1ujza4WanZ0FQrC9yDoldnTvQMUllOesakb
|
||||
7HyfY/ujPlbUfwP/SEQVizqnk/5IHSdSB1vDtxXf1kYJx2Dp05Fz/D32vGSXXLQi
|
||||
TSaVfHS0KYHzWOq362SJqhssZQ0MStbTxdKnzAYx1lBrrHE27Y64ek+uv4tNpDNe
|
||||
s/XqMS1+2wPc4ZSsyXAlcxbs/V6hJtGDOxr2UNiqOrjteSxJmxrkBHq9L/qrlUJo
|
||||
k/5nerhUtDUkHIMYaOpBJUbq+9RfiTlU8IU6mnVwPzSGxRgygcLxT1TmdAlhoZ/x
|
||||
a6a/heb6qLUNkBYZTLo9Hd9U2l6TyQ+WjD1UTafE7RkqU55zJ7g=
|
||||
=cZhI
|
||||
-----END PGP SIGNATURE-----
|
Loading…
Reference in a new issue