From 8383bf15776aa0280391be0fdde803642c93ba3c Mon Sep 17 00:00:00 2001 From: Pk11 Date: Thu, 16 Dec 2021 10:40:21 -0600 Subject: [PATCH] Fix language list --- _includes/nav.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_includes/nav.html b/_includes/nav.html index 05fd1318..1742d205 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -42,7 +42,9 @@ {% assign path = page.path | replace: page.collection, collection.label %} {% assign item = site[collection.label] | where: "path", path | first %} {% if item %} -
  • {{ site.data.lang-names[item.lang] }}
  • + {% if item.lang != "en-US" or item.collection == "en-US" %} +
  • {{ site.data.lang-names[item.lang] }}
  • + {% endif %} {% endif %} {% endunless %} {% endfor %}