fix #117: use a generic attribute parser, still support fixed attrs

This commit is contained in:
2025-02-10 18:10:21 +01:00
parent 602085d15e
commit 071f605a81
8 changed files with 119 additions and 55 deletions

View File

@@ -45,8 +45,7 @@ Format is pretty simple:
Price: {{.Price}}
Id: {{.ID}}
Category: {{.Category}}
{{ range $key,$val := .Attributes }}{{ $key }}: {{ $val }}
{{ end }}
Condition: {{.Condition}}
Created: {{.Created}}
{{.Text}}