www.byjp.me/layouts/reading-lists/list.opml
JP Hastings-Spital 5915df4ae9 Fix OPML xml
2023-10-24 08:17:50 +01:00

13 lines
608 B
XML

{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<opml version="2.0">
<head>
<title>{{ .Title }} (reading lists byJP)</title>
<dateModified>{{ .Lastmod.Format "02 Jan 2006 15:04 MST" }}</dateModified>
<ownerId>https://www.byjp.me</ownerId>
</head>
<body>
{{ range .Pages -}}
<outline {{ if .Date }}created="{{ .Date.Format "02 Jan 2006 15:04 MST" }}" {{ end }}title="{{ .Title }}" text="{{ .Title }}" type="rss" xmlUrl="{{ .Params.feed.rss }}" htmlUrl="{{ .Params.feed.url }}" description="{{ .Summary }}"/>
{{ end }}
</body>
</opml>