From 8f7e4c92f610048b2558f759614298951d52b77d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at>
Date: Fri, 25 Nov 2022 14:05:40 +0100
Subject: [PATCH] xmas: do no longer use 'unnamed', fall back to 'name' or
 nothing

---
 xmas.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xmas.json b/xmas.json
index 6c1d67b..4bd9df9 100644
--- a/xmas.json
+++ b/xmas.json
@@ -21,7 +21,7 @@
             "{% set isCurrent = meta.timestamp >= \"now\"|date_modify('-10 month')|date('Y') %}",
             "{% set bgColor = isCurrent ? '#f2756a' : 'red' %}"
         ],
-        "title": "{{ attribute(tags, \"xmas:name\")|default(trans(\"unnamed\")) }}",
+        "title": "{{ attribute(tags, \"xmas:name\")|default(tags.name) }}",
         "description": "{{ tagTransList(\"xmas:feature\", attribute(tags, \"xmas:feature\")) }}",
         "body": [
             "{% if not isCurrent %}",