Do not use STDOUT and STDERR constants
[phinde.git] / data / templates / opensearch.htm
index 1ba805a15fda62a1c18bd95b8a64116004654dc0..6565516140b3977b1bf1091d56413ebd6b6616ec 100644 (file)
@@ -27,8 +27,8 @@
      <title>{{doc.title}}</title>
      <link href="{{doc.url}}"/>
      <id>{{doc.url}}</id>
-     {% if doc.modate %}
-     <updated>{{doc.modate|date('c')}}</updated>
+     {% if doc.status.modate %}
+     <updated>{{doc.status.modate|date('c')}}</updated>
      {% endif %}
      <content type="text">{{doc.htmlText|striptags}}</content>
     </entry>