Improve the atom and rss templates: fix bugs in link attirbutes, simplify code, and include html posts in rss feeds instead of raw markdown.
This commit is contained in:
parent
ac18ad7f4e
commit
bab24f9cdf
2 changed files with 38 additions and 47 deletions
|
|
@ -24,8 +24,8 @@ updated = `{/bin/date --rfc-3339'=seconds' |sed 's/ /T/'}
|
|||
<feed xmlns="http://www.w3.org/2005/Atom"
|
||||
xmlns:thr="http://purl.org/syndication/thread/1.0">
|
||||
|
||||
<link rel="self" href="%($req_path%)"/>
|
||||
<id>%($req_path%)</id>
|
||||
<link rel="self" href="%($base_url^$req_path%)"/>
|
||||
<id>%($base_url^$req_path%)</id>
|
||||
<icon>/favicon.ico</icon>
|
||||
|
||||
<title>%($siteTitle%)</title>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue