From 1f25b5a22220bcb0f7997c0629c00555d18be6be Mon Sep 17 00:00:00 2001 From: m52go Date: Sun, 9 Aug 2020 19:58:42 -0400 Subject: [PATCH 1/4] Simplify main_nav yml for English YML should be for text-to-be-translated only. Previously, URLs and items like "_blank" were showing up in Transifex. --- _data/en.yml | 35 ++++++-------------- _includes/main_nav.html | 71 ++++++++++++++++++++++------------------- 2 files changed, 49 insertions(+), 57 deletions(-) diff --git a/_data/en.yml b/_data/en.yml index edcb41c4..186f53ef 100644 --- a/_data/en.yml +++ b/_data/en.yml @@ -1,29 +1,14 @@ main_nav: - liDownloads: Downloads - liLearnMore: Learn More - liDocumentation: Documentation - liBlog: Blog - liCommunity: Community - buttonDownloads: Downloads - links: - - title: Getting Started - url: /getting-started/ - - title: Bisq DAO - url: /dao/ - - title: Statistics - url: /stats/ - - title: FAQ - url: /faq/ - - title: Markets - url: /markets/ - mobile_links: - - title: Community - url: /community/ - - title: Blog - url: /blog/ - - title: Documentation - url: https://docs.bisq.network/ - target: _blank + downloads: Downloads + learnMore: Learn More + documentation: Documentation + blog: Blog + community: Community + gettingStarted: Getting Started + bisqDAO: Bisq DAO + statistics: Statistics + faq: FAQ + markets: Markets footer: notificationApp: Bisq mobile notification App diff --git a/_includes/main_nav.html b/_includes/main_nav.html index dcc0f548..2ef6c0db 100644 --- a/_includes/main_nav.html +++ b/_includes/main_nav.html @@ -3,6 +3,7 @@ + {% if page.en-only == false %} {% endif %} - @@ -30,71 +30,79 @@