Commit graph

99 commits

Author SHA1 Message Date
luigi1111
5aca54c75e
Merge pull request #1218 from erciccione/img-lang-sel
Navigation: add language img for language selector (desktop)
2020-10-21 15:48:36 -05:00
luigi1111
19e61ca04c
Merge pull request #1217
Refactor footer to use i18n plugin
2020-10-21 15:46:32 -05:00
luigi1111
ec85710853
Merge pull request #1118
head.html: show monero logo in og:image if page.image is an SVG file
2020-10-21 15:40:36 -05:00
erciccione
33713c756f
Refactor footer to use i18n plugin
This is the last part of the refactor, which allow us to remove the _data/lang folder with all its content and make the footer use the 18n plugin. Now only the user guides and the Moneropedia are outside the localization system.

- Removed the _data/lang folder and all its content
- Since most of the entries are duplicates of the 'titles' in LANG.yml, we use those. For the two missing ones we add a 'footer' section
- Edited the README
2020-10-18 22:47:31 +01:00
erciccione
4bafdcc15f
Header: Refactor navigation menu to use i18n plugin 2020-10-18 22:40:53 +01:00
luigi1111
17d48b1f9a
Merge pull request #1215
Upgrade banner: Link to Downloads page and make text more generic
2020-10-08 10:26:19 -05:00
erciccione
7575e6d8e1
Adopt versioning system used in the User Guides to keep track of the translation status of the Moneropedia entries
- Removed the 'untranslated.html' snippet (_includes/untranslated.html). Since now we are using 'disclaimer.html' everywhere
- Replaced the old snippet with the new disclaimer (introduced with #966) in all Moneropedia entries
- Add snippet where it was missing
- Updated instructions in the README
2020-10-04 15:00:43 +02:00
erciccione
7bf14d3c22
Navigation: add language img for language selector (desktop) 2020-10-01 17:44:00 +02:00
erciccione
fb75ac88dd
Upgrade banner: Link to Downloads page and make test more generic 2020-09-30 14:50:37 +02:00
erciccione
b701618a3d
Add banner for October 2020 network upgrade 2020-09-19 18:05:23 +02:00
erciccione
1d5518f74c
Improve accessibility
- Fixed some interactive elements which weren't focusable (using 'tabindex')
- Label interactive elements which weren't labelled
- Slightly increase contrast of the grey text in the top navigation bars to reach level AA in the WCAG rating system and increase visibility of the text
2020-09-08 10:37:30 +02:00
erciccione
ebae9d16b2
Feed: Fix autodetection by removing the helper feed_meta and adding the tag manually 2020-08-04 08:12:11 +02:00
erciccione
a1533efada
head.html: show monero logo in og:image if page.image is an SVG file 2020-08-04 07:57:27 +02:00
luigi1111
6240fc70f8
Merge pull request #1051
Improve RSS experience (install 'jekyll-feed' plugin)
2020-07-31 15:09:21 -05:00
erciccione
2830f69173
Improve RSS experience (install 'jekyll-feed' plugin)
- Use 'jekyll-feed' plugin to manage RSS feed and remove existing feed.xml file
- Add feed image in main blog tab ('All posts')

The 'jekyll-feed' plugin makes possible for aggregators to automatically detect the existence of a feed (feed_meta tag in header)
and creates a 'feed.atom' file containing the last 20 blog posts and locates it in the root directory. The structure is compatible
with our current system, including the possibility to show a picture if it's included in the post (#1002).
2020-07-29 20:46:37 +02:00
Sarang Noether
c7f8b8fd1d Remove analytics 2020-07-16 12:55:45 -04:00
luigi1111
56ce7975d7
Merge pull request #1002
Meta tags: Change opengraph logo and add possiblity to use custom one
2020-06-24 13:44:01 -05:00
erciccione
18bedd3568
Meta tags: Change opengraph logo and add possiblity to use custom image
The old logo showing on social medias is too large and end up being trimmed. Replaced it with the simple Monero Logo.
If an image is specified using 'image:' in the front matter of a blog post, jekyll will show that image instead. This also allow us to easily
make specific meta-images for each blog posts. I will add the possibility to add the image in the body of the post in a
subsequent PR.
2020-06-24 18:25:23 +02:00
erciccione
e29426565d
Remove 'The Monero Project' page and replace link in header with link to Weblate
Removed completely the 'The Monero Project' page and related entries in _i18n/en.yml. Replaced entry in header with 'Translate', which links to Weblate (translate.getmonero.org)
2020-06-16 17:18:45 +02:00
Daniel Leedan
03204d8a05 RTLsupport for Arabic language 2020-06-15 11:22:15 -05:00
erciccione
4e5143db60
Simplify versioning system for user guides
This new approach doesn't require version numbers and make easier for contributors to understand the status
of the document. There are only 3 states:

- Outdated: The page is outdated and might not work as expected
- Untranslated: The page needs to be translated
- Translation outdated: The page is translated, but the original (English) document has been updated

To mark a guide as outdated, we change the boolean of the front matter entry 'outdated' in /resources/user-guides/GUIDE.
If 'False', the guide is updated. If 'True' all versions of the guide (English included) will show a warning at the bottom
of the page.

The other 2 states are related to the status of the translated pages and we control them from the language-specific
user guides: /_i18n/LANG/resources/user-guides/GUIDE. At the top of the page a snippet will include 2 parameters:

- translated: "yes" if the page is translated, "no" if it's not.
- translationOutdated: "yes" if the translation is outdated, "no" if it's not

This new system aims to be simpler than the precedent, avoiding to compare versioning numbers and using a higher level
system instead (yes, no, True, False). I also removed the middle way status 'only minor changes', because if there are
only minor changes that don't affect the usability of the guide, we don't need to point it out.

The old system was complex and people didn't use it. These changes will hopefully make things easier for translators and
other contributors.
2020-05-31 09:23:16 +02:00
luigi1111
5996e50402
Merge pull request #956
New 404 page
2020-05-14 16:14:36 -05:00
erciccione
dc2a0b118e
New 404 page
Removed the '404' folder with its content and created a new '404.html' file in the root directory, added some specific css and slighlty edited the 'error' layout.
2020-05-14 10:27:03 +02:00
erciccione
3bcab02dc4
Remove unused _includes/download.php 2020-04-27 13:52:20 +02:00
erciccione
4f57e29c0d
Change all links to gitlab 'monero-site' repo to github 2020-04-13 10:15:24 +02:00
erciccione
860256a260
head: fix titles for Moneropedia entries 2020-02-22 15:13:43 +01:00
luigi1111
e0c5a2c478 Merge !1216
Fix broken meta tags (description, og:title, og:description)

Closes #925

See merge request monero-project/monero-site!1216
2020-02-20 20:48:08 +01:00
luigi1111
6926b3093e Merge !1212
Remove 'langs' from language files and move them to their own 'languages.yml' file in /_data

See merge request monero-project/monero-site!1212
2020-02-06 03:44:35 +01:00
erciccione
1ebebf346e
Fix broken meta tags (description, og:title, og:description) 2020-02-05 20:15:23 +01:00
erciccione
c82f3e3d7b
Remove 'langs' from language files and move them to their own 'languages.yml' file in /_data
The list of languages doesn't need to be translated, so there is no reason to keep it in the language files. Moved to its own
file (/_data/languages.yml). Now the language dropdown parses the languages from there.
This change is also needed for the migration to Weblate (which would ask translators to translate the language names).
2020-01-28 18:10:34 +01:00
erciccione
faf57f6556
footer: use variable instead of absolute link for RSS feed 2019-12-29 11:12:33 +01:00
erciccione
a7143df704
change link of 'upgrade' banner 2019-12-05 17:25:02 +01:00
erciccione
7f0a1245a4
remove 'Warning' banner 2019-11-28 10:55:43 +01:00
erciccione
bad2fc789d
Add 'Warning' banner with text about compromised binaries 2019-11-19 19:13:52 +01:00
erciccione
d9792584dd
Activate and update 'upgrade' banner 2019-11-09 10:04:13 +01:00
luigi1111
826ca2fc3a Merge !1007
Update link to fork info with newest thread

See merge request monero-project/monero-site!1007
2019-03-10 22:31:04 +01:00
luigi1111
36b909b9ef Merge !1002
Changed to new CCS link

See merge request monero-project/monero-site!1002
2019-03-05 21:42:33 +01:00
Nathan Dorfman
94284b6cc2 Update link to fork info with newest thread 2019-03-03 12:03:36 -07:00
Nathan Dorfman
7551cf0fb2 Update for March 9th fork (with translations) 2019-02-25 13:09:33 -07:00
Diego Salazar
7b88183ce4
Changed to new CCS link 2019-02-19 08:12:09 -07:00
el00ruobuob
1c38c33780
Update a bunch of things to new hosting on gitlab (repo.getmonero.org / gitlab kovri-project) 2018-10-22 23:49:31 +02:00
Diego Salazar
f50978e782
Updated link on upgrade snippet to Reddit post as per dEBRUYNE's request 2018-10-17 10:48:05 -06:00
Diego Salazar
2efb6cc0e5
Added upgrade banner using Jekyll
- Added upgrade snippet
- Added snippet banner to index page of all languages
- Updated yml files of all languages ready for translation
- Styling
2018-10-13 14:26:45 -06:00
el00ruobuob
9843b58674
Guides versioning
+ All guides are version
+ Major diff on Polish daemon RPC guide
+ Minor diff on Polish daemon RPC guide
+ yml completed for en, fr, pl, it, es
+ Instructions updated on readme.md:
  - For Guide création: adding the mainversion to the /ressources/user-guides, the guide version and the translation snippet to the localized files
  - For Guides update: how, where and why handling the version number.
2018-07-08 15:05:49 +02:00
rehrar
8fc80c3d39 Updated as per request
- Reverted changed lines in footer
- Removed GA script in langauge.php
- Replaced mentions of GA with Matomo in Legal page
2018-04-11 16:29:00 -06:00
rehrar
983cc334a8
Finished multi-lingual implementation
- Updated README to accomodate for changes
- Updated footer and roadmap for multi-lingual readiness
- Updated yml files for an 'untranslated' string
- Added an 'untranslated' snippet to all untranslated files
- Added a 'template' language for new languages to be made easily
- Added link to Monerujo site to Downloads page
- CSS updates
2018-01-30 13:18:02 -07:00
rehrar
88efc5e8bb
Minor adjustments
- Adjusted values in en and es yml files
- Minor tweaks in a few pages
- Changed head rules to pull correct page titles
- Changed footer and header to loop correctly without a case statement and pull translated strings
- Adjusted FFS layouts
2018-01-30 13:18:02 -07:00
rehrar
2d288b0b0e
Various multilingual testing
- Added support for multilingual navigation
- Put Spanish copy in some pages in get-started for testing purposes
= Added multilingual support for the home page
2018-01-30 13:18:02 -07:00
rehrar
fe01475b21
Reverted 06f6b95 to fix mobile navigation subitems not dropping down correctly 2017-10-30 20:31:55 -06:00
luigi1111
06f6b95120 Merge pull request #443 from MaxXor/dropdown-fix
Fix duplicate drop ids
2017-10-25 12:32:40 -05:00