Sha256: 3d44691c07dcb46e85ec1b7354ff49aebe98325170d4ab6c5ba6d014e2441222

Contents?: true

Size: 1.81 KB

Versions: 10

Compression:

Stored size: 1.81 KB

Contents

---
layout: null
---
{%- if site.download_url == "" or site.download_url == nil -%}
  {%- assign download_url = site.url | append: '/episodes' -%}
{%- else -%}
  {%- assign download_url = site.download_url -%}
{%- endif -%}

{"version": "https://jsonfeed.org/version/1",
 "title": "{{ site.title | xml_escape }}",
 "home_page_url": "{{ "/" | absolute_url }}",
 "feed_url": "{{ "/feed.json" | absolute_url }}",
 "description": {{ site.description | jsonify }},
 "user_comment": {{ site.description | jsonify }},
 "icon": "{{ "/apple-touch-icon-precomposed.png" | absolute_url }}",
 "favicon": "{{ "/favicon.ico" | absolute_url }}",
 "expired": false,
 "author": {
   "name": {{ site.author | jsonify }},
   "url": {{ site.author_url | jsonify }}
 },
 "items": [
 {%- for post in site.posts limit:36 -%}
 {% assign url = download_url | append: '/' | append: post.audio[page.format] %}
   {"id": "{{ post.url | absolute_url | sha1 }}",
    "title": {{ post.title | jsonify }},
    "summary": "",
    "content_text": {{ post.content | strip_html | strip_newlines | jsonify }},
    "content_html": {{ post.content | strip_newlines | jsonify }},
    "url": "{{ post.url | absolute_url }}",
    {%- if post.tags.size > 0 -%}"tags": {{ post.tags | jsonify }}, {%- endif -%}
    {% if post.audio.size > 1 %}
    "attachments": [
      {"url": "{{ url }}",
       "mime_type": "audio/mpeg",
       {%- if post.filesize -%}
       "size_in_bytes": "{{ post | size_by_format: page.format }}"
       {%- else -%}
       "size_in_bytes": "{{ post.audio | audio:mp3 | file_size }}"
       {%- endif -%}
      }
    ],{% endif %}
    "date_published": "{{ post.date | date_to_xmlschema }}",
    "date_modified": "{{ post.date | date_to_xmlschema }}",
    "author": {
      "name": "{{ post.author }}"
    }
  }{% if forloop.last == false %},{% endif %}
 {%- endfor -%}
 ]
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
jekyll-octopod-0.9.23 assets/_layouts/jsonfeed.json
jekyll-octopod-0.9.22 assets/_layouts/jsonfeed.json
jekyll-octopod-0.9.21 assets/_layouts/jsonfeed.json
jekyll-octopod-0.9.20 assets/_layouts/jsonfeed.json
jekyll-octopod-0.9.19 assets/_layouts/jsonfeed.json
jekyll-octopod-0.9.18 assets/_layouts/jsonfeed.json
jekyll-octopod-0.9.17 assets/_layouts/jsonfeed.json
jekyll-octopod-0.9.15 assets/_layouts/jsonfeed.json
jekyll-octopod-0.9.14 assets/_layouts/jsonfeed.json
jekyll-octopod-0.9.13 assets/_layouts/jsonfeed.json