{{ config.title }} {{ url | uriencode }} {% if config.feed.hub %}{% endif %} {{ config.description }} {{ posts.first().updated.toDate().toUTCString() }} http://hexo.io/ {% for post in posts.toArray() %} {{ post.title }} {{ (url + post.path) | uriencode }} {{ (url + post.path) | uriencode }} {{ post.date.toDate().toUTCString() }} {% if post.description %} {{ post.description }} {% elif post.excerpt %} {{ post.excerpt }} {% elif post.content %} {% set short_content = post.content.substring(0, config.feed.content_limit) %} {% if config.feed.content_limit_delim %} {% set delim_pos = short_content.lastIndexOf(config.feed.content_limit_delim) %} {% if delim_pos > -1 %} {{ short_content.substring(0, delim_pos) }} {% else %} {{ short_content }} {% endif %} {% else %} {{ short_content }} {% endif %} {% endif %} {% if config.feed.content and post.content %} {% endif %} {% if post.comments %}{{ (url + post.path) | uriencode }}#disqus_thread{% endif %} {% endfor %}