Sha256: 5f93313fbb41a4be00e488987dccc8df827cf7b6c8e583a46839deab7c4e55d8

Contents?: true

Size: 1.52 KB

Versions: 1

Compression:

Stored size: 1.52 KB

Contents

<?xml version="1.0" encoding="UTF-8"?>
{% assign home_page = site.pages | where:"ref", "home" | where:"lang", page.lang | first %}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>{{ site.title | xml_escape }}</title>
    <description>{{ home_page.tagline | default: site.description | xml_escape }}</description>
    <link>{{ home_page.url | prepend: site.baseurl | prepend: site.url  }}</link>
    <atom:link href="{{ '/feed-' | prepend: site.baseurl | prepend: site.url | append: page.lang | append: '.xml' }}" rel="self" type="application/rss+xml"/>
    <pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
    <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
    <generator>Jekyll v{{ jekyll.version }}</generator>
    {% assign posts_lang = site.posts | where:"lang", page.lang %}
    {% for post in posts_lang limit:10 %}
      <item>
        <title>{{ post.title | xml_escape }}</title>
        <description>{{ post.content | xml_escape }}</description>
        <pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
        <link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
        <guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
        {% for tag in post.tags %}
        <category>{{ tag | xml_escape }}</category>
        {% endfor %}
        {% for cat in post.categories %}
        <category>{{ cat | xml_escape }}</category>
        {% endfor %}
      </item>
    {% endfor %}
  </channel>
</rss>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-simple-blog-0.0.2 _layouts/rss-feed.xml