diff --git a/web/html/feed.html b/web/html/feed.html index b02b9a9..c32f0da 100644 --- a/web/html/feed.html +++ b/web/html/feed.html @@ -11,16 +11,7 @@ {{ or .Title .Id | raw }} {{- end }} -{{ define "content" -}} -
- -Home -[Active | All] - -
- -{{ if .Items }} -{{ range .Items }} +{{ define "item" -}}
{{/* The item title is a clickable if there is body content */}} @@ -57,7 +48,20 @@
{{ end }} -{{/* end range .Items */}} +{{/* end define "item" */}} + +{{ define "content" -}} +
+ +Home +[Active | All] + +
+ +{{ if .Items }} +{{ range .Items }} + {{ template "item" . }} +{{ end }}