Fix language alert

This commit is contained in:
Pk11 2021-05-24 15:49:20 -05:00
parent 8d9133f413
commit 8f1b01ca58
2 changed files with 5 additions and 2 deletions

View File

@ -10,7 +10,11 @@ defaults:
- scope:
path: ""
values:
layout: "wiki"
layout: wiki
- scope:
path: assets/js
values:
layout: null
collections:
en-US:

View File

@ -1,7 +1,6 @@
---
---
if(!sessionStorage.languageAlertDismissed) {
// Have liquid insert the language info
const languages = [{% for collection in site.collections %}"{{ collection.label }}"{% unless forloop.last %}, {% endunless %}{% endfor %}];