Correction affichage nom utilisateur dans la newsletter

This commit is contained in:
wpetit 2020-10-05 15:49:09 +02:00
parent fb954a3e5b
commit f4528dd087
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ func NewDefault() *Config {
BaseURL: "http://localhost:8080",
ContentTemplate: dedent.Dedent(`
{{- $root := . -}}
Bonjour {{ .User.Name }},
Bonjour{{if .User.Name}} {{ .User.Name }}{{end}},
{{ if not .HasEvents -}}
Aucun évènement notoire ces derniers jours.