1 Commits

Author SHA1 Message Date
Christian Gick
9dd4a68d71 fix: quote LANG variable in shortcode JS (was unquoted ReferenceError)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 14:01:28 +03:00
4 changed files with 5 additions and 3 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,3 @@
public/ public/
resources/ resources/
.hugo_build.lock .hugo_build.lock
.claude-session/

3
.gitmodules vendored
View File

@@ -0,0 +1,3 @@
[submodule "themes/congo"]
path = themes/congo
url = https://github.com/jpanther/congo.git

View File

@@ -37,7 +37,7 @@
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.7/dist/chart.umd.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.7/dist/chart.umd.min.js"></script>
<script> <script>
(function() { (function() {
var LANG = {{ $lang }}; var LANG = "{{ $lang }}";
var countries = {{ $countries | jsonify }}; var countries = {{ $countries | jsonify }};
var statusLabels = { var statusLabels = {

View File

@@ -33,7 +33,7 @@
<script src="https://cdn.jsdelivr.net/npm/topojson-client@3.1.0/dist/topojson-client.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/topojson-client@3.1.0/dist/topojson-client.min.js"></script>
<script> <script>
(function() { (function() {
var LANG = {{ $lang }}; var LANG = "{{ $lang }}";
var STATUS_COLORS = { enforced: '#4d7c0f', passed: '#059669', progress: '#86efac', guidelines: '#d1fae5' }; var STATUS_COLORS = { enforced: '#4d7c0f', passed: '#059669', progress: '#86efac', guidelines: '#d1fae5' };
var STATUS_LABELS = { var STATUS_LABELS = {
en: { enforced: 'Enforced', passed: 'Passed', progress: 'In Progress', guidelines: 'Guidelines' }, en: { enforced: 'Enforced', passed: 'Passed', progress: 'In Progress', guidelines: 'Guidelines' },