Fancier hr, goatcounter analytics, simplify bg-color variable, add default value for the locale setting

This commit is contained in:
David Lapshin
2024-05-16 17:20:34 +03:00
parent bcabba7a64
commit a108cc7501
6 changed files with 35 additions and 14 deletions

View File

@ -185,7 +185,7 @@
permalink.setAttribute("rel", "external nofollow");
permalink.textContent = new Date(
status.created_at
).toLocaleString("{{ config.extra.comments.locale }}", {
).toLocaleString("{{ config.extra.comments.locale | default(value='en-IE') }}", {
dateStyle: "long",
timeStyle: "short",
});