Commit a9c111dc authored by Chris Lamb's avatar Chris Lamb 💬

Add initial framework for migrating blog posts.

parent a7500fa9
......@@ -11,6 +11,8 @@ baseurl: ""
url: https://reproducible-builds.org
collections:
blog:
output: true
docs:
output: true
events:
......
---
layout: default
---
<p>&larr; <a href="/blog/">View all weekly reports</a></p>
<header class="post-header">
<h1>Reproducible Builds: Weekly report #{{ page.week }}</h1>
<p>Posted: {{ page.date | date: "%b %-d, %Y" }}</p>
</header>
<hr>
<div class="post">
<div class="row">
<div class="eight columns">
<article class="post-content text">
{{ content }}
</article>
</div>
</div>
</div>
---
title: Blog
layout: page
title: Blog
permalink: /blog/
order: 5
order: -1
---
<meta http-equiv="refresh" content="0;URL='https://reproducible.alioth.debian.org/blog/'"/>
<p>
Every week we publish a weekly report on what we have been up to. (<a href="/blog/index.rss">RSS/Atom feed</a>)
</p>
{% assign by_week = site.blog | sort: 'week' | reverse %}
<ul>
{% for page in by_week %}
{% if page.date %}
<li>
<a href="/blog/posts/{{ page.week }}/">Week {{ page.week }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
index.rss
\ No newline at end of file
---
layout: none
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.title | xml_escape }}</title>
<description>{{ site.description | xml_escape }}</description>
<link>{{ site.url }}/blog/</link>
<atom:link href="{{ "/blog/index.rss" | prepend: site.url }}" 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>
{% for page in site.blog limit:10 %}
<item>
<title>Reproducible Builds: Weekly report #{{ page.week }}</title>
<pubDate>{{ page.date | date_to_rfc822 }}</pubDate>
<link>{{ page.url | prepend: site.url }}</link>
<guid isPermaLink="true">{{ page.url | prepend: site.url }}</guid>
<description>{{ page.content | xml_escape }}</description>
</item>
{% endfor %}
</channel>
</rss>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment