From 1fb83cca80595756fdeae6e731d1662480603721 Mon Sep 17 00:00:00 2001 From: Jonah Aragon Date: Tue, 13 Aug 2019 14:00:34 -0500 Subject: [PATCH] Small Improvements (#1149) * Reorder navigation bar * Improve browser recommendations * Fix incorrect icons * Reword Brave recommendation * Update _includes/nav.html Browser-agnostic description --- _includes/cardv2.html | 26 +++++++++---------- _includes/nav.html | 18 ++++++------- _includes/sections/browser-addons.html | 4 +-- .../sections/browser-recommendation.html | 6 ++--- 4 files changed, 27 insertions(+), 27 deletions(-) diff --git a/_includes/cardv2.html b/_includes/cardv2.html index de676e9a..3e8e590a 100644 --- a/_includes/cardv2.html +++ b/_includes/cardv2.html @@ -55,22 +55,22 @@
- {% if include.windows %}{% endif %} - {% if include.mac %}{% endif %} - {% if include.linux %}{% endif %} - {% if include.bsd %}{% endif %} + {% if include.windows %}{% if include.windows != "" %}{% else %}{% endif %}{% endif %} + {% if include.mac %}{% if include.mac != "" %}{% else %}{% endif %}{% endif %} + {% if include.linux %}{% if include.linux != "" %}{% else %}{% endif %}{% endif %} + {% if include.bsd %}{% if include.bsd != "" %}{% else %}{% endif %}{% endif %} - {% if include.firefox %}{% endif %} - {% if include.chrome %}{% endif %} - {% if include.safari %}{% endif %} - {% if include.opera %}{% endif %} - {% if include.edge %}{% endif %} + {% if include.firefox %}{% if include.firefox != "" %}{% else %}{% endif %}{% endif %} + {% if include.chrome %}{% if include.chrome != "" %}{% else %}{% endif %}{% endif %} + {% if include.safari %}{% if include.safari != "" %}{% else %}{% endif %}{% endif %} + {% if include.opera %}{% if include.opera != "" %}{% else %}{% endif %}{% endif %} + {% if include.edge %}{% if include.edge != "" %}{% else %}{% endif %}{% endif %} - {% if include.android %}{% endif %} - {% if include.ios %}{% endif %} - {% if include.fire %}{% endif %} + {% if include.android %}{% if include.android != "" %}{% else %}{% endif %}{% endif %} + {% if include.ios %}{% if include.ios != "" %}{% else %}{% endif %}{% endif %} + {% if include.fire %}{% if include.fire != "" %}{% else %}{% endif %}{% endif %} - {% if include.web %}{% endif %} + {% if include.web %}{% if include.web != "" %}{% else %}{% endif %}{% endif %} {{include.icon1}} {{include.icon2}} diff --git a/_includes/nav.html b/_includes/nav.html index 5b71fad5..17115cc1 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -31,11 +31,11 @@ Browser