comparison default/blog/atom.xml @ 110:81f4ba3b121b

blog/atom.xml: change namespace for XHTML content
author Goffi <goffi@goffi.org>
date Wed, 24 Jan 2018 19:43:30 +0100
parents 2dd56fd2e9c9
children
comparison
equal deleted inserted replaced
109:7a67372ddd7b 110:81f4ba3b121b
31 {% for tag in item.tags %} 31 {% for tag in item.tags %}
32 <category term="{{tag}}"/> 32 <category term="{{tag}}"/>
33 {% endfor %} 33 {% endfor %}
34 {% if item.content_xhtml %} 34 {% if item.content_xhtml %}
35 <content type='xhtml'> 35 <content type='xhtml'>
36 <div xmlns='http://www.w3.org/1999/xhtml'>
36 {{item.content_xhtml}} 37 {{item.content_xhtml}}
38 </div>
37 </content> 39 </content>
38 {% else %} 40 {% else %}
39 <content type='text'> 41 <content type='text'>
40 {{item.content_txt}} 42 {{item.content_txt}}
41 </content> 43 </content>