Skip to content

Commit

Permalink
add /feed/; add .ignore/ to list of Jekyll excludes
Browse files Browse the repository at this point in the history
  • Loading branch information
divad12 committed Jan 5, 2012
1 parent f56bacc commit 1ca567f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _config.yml
@@ -1,6 +1,6 @@
pygments: true
markdown: maruku
exclude: [deploy.sh]
exclude: [deploy.sh,.ignore/]

maruku:
use_tex: true
Expand Down
27 changes: 27 additions & 0 deletions feed/index.xml
@@ -0,0 +1,27 @@
---
layout: nil
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

<title>David Hu</title>
<link href="http://david-hu.com/atom.xml" rel="self"/>
<link href="http://david-hu.com/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>http://david-hu.com/</id>
<author>
<name>David Hu</name>
<email>david@david-hu.com</email>
</author>

{% for post in site.posts %}
<entry>
<title>{{ post.title }}</title>
<link href="http://david-hu.com{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>http://david-hu.com{{ post.id }}</id>
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endfor %}

</feed>

0 comments on commit 1ca567f

Please sign in to comment.