messages: switch to new template package

rewrote and put in its own repo. Now supports {if a ==/!= b}, string
literals ({if a == "b"}), else/else if and nested if statements.
This commit is contained in:
Harvey Tindall
2025-12-04 11:50:14 +00:00
parent 6e31a7e2dd
commit b59cd73e43
7 changed files with 15 additions and 285 deletions
+2
View File
@@ -372,9 +372,11 @@ var customContent = map[string]CustomContentInfo{
},
Variables: []string{
"myAccountURL",
"profile",
},
Placeholders: map[string]any{
"myAccountURL": "https://example.url/my/account",
"profile": "Default User Profile",
},
},
}