diff options
Diffstat (limited to 'yapyap/template.xml')
| -rw-r--r-- | yapyap/template.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yapyap/template.xml b/yapyap/template.xml index e90cabb..04bfcab 100644 --- a/yapyap/template.xml +++ b/yapyap/template.xml | |||
| @@ -10,9 +10,9 @@ | |||
| 10 | 10 | ||
| 11 | {{ range $i, $e := .Posts }} | 11 | {{ range $i, $e := .Posts }} |
| 12 | <item> | 12 | <item> |
| 13 | 13 | ||
| 14 | <guid>aaa{{ $i }}</guid> | 14 | <guid>{{ $i }}</guid> |
| 15 | <description>{{ .Text }}</description> | 15 | <description>{{ .Text | nl2br }}</description> |
| 16 | <pubDate>{{ .Date }}</pubDate> | 16 | <pubDate>{{ .Date }}</pubDate> |
| 17 | 17 | ||
| 18 | {{if .Image }} | 18 | {{if .Image }} |
