{{ config.title }} {% if icon %}{{ icon }}{% endif %} {% if config.subtitle %}{{ config.subtitle }}{% endif %} {% if config.feed.hub %}{% endif %} {% if posts.first().updated %}{{ posts.first().updated.toISOString() }}{% else %}{{ posts.first().date.toISOString() }}{% endif %} {{ url | uriencode }} {% if config.author %} {{ config.author }} {% if config.email %}{{ config.email }}{% endif %} {% endif %} Hexo {% for post in posts.toArray() %} {{ post.title }} {{ post.permalink | uriencode }} {{ post.date.toISOString() }} {% if post.updated %}{{ post.updated.toISOString() }}{% else %}{{ post.date.toISOString() }}{% endif %} {% if config.feed.content and post.content %} {% endif %} {% if post.description %} {{ post.description }} {% elif post.intro %} {{ post.intro }} {% 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 post.image %} {% endif %} {% for category in post.categories.toArray() %} {% endfor %} {% for tag in post.tags.toArray() %} {% endfor %} {% endfor %}