fix profile field templating (yet again)

This commit is contained in:
f0x 2023-05-10 21:15:32 +02:00
parent c71ccc6b29
commit ba8c0cd4bb

View file

@ -62,10 +62,10 @@
</div> </div>
<div class="fields"> <div class="fields">
{{ range $field := .account.Fields }} {{ range .account.Fields }}
<div class="field"> <div class="field">
<b>{{emojify .account.Emojis (noescape $field.Name)}}</b> <b>{{emojify $.account.Emojis (noescape .Name)}}</b>
<span>{{emojify .account.Emojis (noescape $field.Value)}}</span> <span>{{emojify $.account.Emojis (noescape .Value)}}</span>
</div> </div>
{{ end }} {{ end }}
</div> </div>