diff options
Diffstat (limited to '_templates')
-rw-r--r-- | _templates/formbox.xml | 10 | ||||
-rw-r--r-- | _templates/openring.html | 12 |
2 files changed, 22 insertions, 0 deletions
diff --git a/_templates/formbox.xml b/_templates/formbox.xml new file mode 100644 index 0000000..2078071 --- /dev/null +++ b/_templates/formbox.xml @@ -0,0 +1,10 @@ +<item> + <link>https://lists.sr.ht/~cnx/site/{message_id}</link> + <guid>https://lists.sr.ht/~cnx/site/{message_id}</guid> + <pubDate>{date}</pubDate> + <dc:creator>{author}</dc:creator> + <title>On {date}, {author} wrote:</title> + <description>{subject}</description> + <content:encoded><![CDATA[{body}]]></content:encoded> +</item> +{children} diff --git a/_templates/openring.html b/_templates/openring.html new file mode 100644 index 0000000..a585f17 --- /dev/null +++ b/_templates/openring.html @@ -0,0 +1,12 @@ +<section class=openring> + {{range .Articles}} + <div class=article> + <h3 class=title><a href='{{.Link}}'>{{.Title}}</a></h3> + {{.Summary}}<br> + <small class=right>—<a href='{{.SourceLink}}'>{{.SourceTitle}}</a>, + {{.Date | datef "2006-01-02"}}</small> + </div> + {{end}} +</section> +<small class=right>Generated by + <a href=https://git.sr.ht/~sircmpwn/openring>openring</a></small> |