finish up the atom news feed API
This commit is contained in:
@ -1,6 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<title>{{.frontend.Host}} news</title>
|
||||
<updated>2025-01-02T20:46:24Z</updated>
|
||||
<subtitle>News and updates about my self-hosted services and projects</subtitle>
|
||||
<link href="{{.frontend.String}}/news"></link>
|
||||
<updated>{{.updated}}</updated>
|
||||
<subtitle>News and updates about my projects and self-hosted services</subtitle>
|
||||
<link href="{{.frontend.JoinPath "/news"}}"></link>
|
||||
{{ range .entries }}
|
||||
<entry>
|
||||
<title>{{.Title}}</title>
|
||||
<updated>{{.RFC3339}}</updated>
|
||||
<author>
|
||||
<name>{{.Author}}</name>
|
||||
</author>
|
||||
<content>{{.Content}}</content>
|
||||
</entry>
|
||||
{{ end }}
|
||||
</feed>
|
||||
|
Reference in New Issue
Block a user