monero-site/_includes
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
..
disclaimer.html Simplify versioning system for user guides 2020-05-31 09:23:16 +02:00
footer.html footer: use variable instead of absolute link for RSS feed 2019-12-29 11:12:33 +01:00
head.html head: fix titles for Moneropedia entries 2020-02-22 15:13:43 +01:00
header.html Remove 'langs' from language files and move them to their own 'languages.yml' file in /_data 2020-01-28 18:10:34 +01:00
hostflag.html Added new site 2017-07-04 00:00:32 -06:00
language_cookie.php Added new site 2017-07-04 00:00:32 -06:00
untranslated.html Change all links to gitlab 'monero-site' repo to github 2020-04-13 10:15:24 +02:00
upgrade.html change link of 'upgrade' banner 2019-12-05 17:25:02 +01:00