projects
/
web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6b6fea8
)
feed: fix XML, add ID
author
Ralf Jung
<post@ralfj.de>
Mon, 12 Oct 2015 11:59:35 +0000
(13:59 +0200)
committer
Ralf Jung
<post@ralfj.de>
Mon, 12 Oct 2015 11:59:35 +0000
(13:59 +0200)
personal/_layouts/feed.html
patch
|
blob
|
history
diff --git
a/personal/_layouts/feed.html
b/personal/_layouts/feed.html
index 446a38d82de14f1392f3290610b9256edc44a455..863393436ce778ff3e89af7f80c3923eb8d9c030 100644
(file)
--- a/
personal/_layouts/feed.html
+++ b/
personal/_layouts/feed.html
@@
-4,6
+4,7
@@
{% assign pretitle = page.pretitle %}
{% if page.vars %}{% include {{ page.vars | prepend: "vars/" }} %}{% endif %}
<title>{% if pretitle %}{{ pretitle | xml_escape }} • {% endif %}{{ title | xml_escape }}</title>
{% assign pretitle = page.pretitle %}
{% if page.vars %}{% include {{ page.vars | prepend: "vars/" }} %}{% endif %}
<title>{% if pretitle %}{{ pretitle | xml_escape }} • {% endif %}{{ title | xml_escape }}</title>
+ <id>{{ page.url | prepend: site.baseurl | prepend: site.url }}</id>
<link href="{{ page.url | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/atom+xml"/>
{% if page.category %}
<link href="{{ page.url | replace: '.xml','.html' | prepend: site.baseurl | prepend: site.url }}"/>
<link href="{{ page.url | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/atom+xml"/>
{% if page.category %}
<link href="{{ page.url | replace: '.xml','.html' | prepend: site.baseurl | prepend: site.url }}"/>
@@
-15,4
+16,4
@@
<name>Ralf Jung</name>
</author>
{{ content }}
<name>Ralf Jung</name>
</author>
{{ content }}
-</
rss
>
+</
feed
>