mirror of
https://codeberg.org/scip/kleingebaeck.git
synced 2025-12-17 20:41:01 +01:00
fix #117: use a generic attribute parser, still support fixed attrs
This commit is contained in:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user