Browse Source

feeds: add feed description to Feeds view (#18)

The Feeds view was updated to display each feed's Description inline.

Note: Most (if not all) feeds currently don't have Descriptions, so they probably will need to have Descriptions added by hand in `feeds.yaml`.

Reviewed-on: #18
Co-authored-by: servusdei2018 <servusdei2018@noreply@mills.io>
Co-committed-by: servusdei2018 <servusdei2018@noreply@mills.io>
master
servusdei2018 2 weeks ago
committed by James Mills
parent
commit
6a5e4cd908
  1. 2
      templates.go

2
templates.go

@ -116,7 +116,7 @@ const feedsTemplate = `
{{ if .Feeds }}
<ul>
{{ range .Feeds }}
<li><a href="{{ .URI }}">{{ .Name }}</a>&nbsp;<small>({{ .LastModified }})</small></li>
<li><a href="{{ .URI }}">{{ .Name }}</a>&nbsp;<small>({{ .LastModified }})</small>: {{ .Description }}</li>
{{ end }}
</ul>
{{ else }}

Loading…
Cancel
Save