Skip to content

Commit

Permalink
Remove hardcoded info from RSS feed, closes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Swanson committed Aug 28, 2013
1 parent d5959aa commit c985b6e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ theme:

# "Hi, I'm _______"
name: Matt Swanson
email: [email protected]
tagline: "weak opinions, strongly held"

# Google Analytics key, leave blank to ignore
Expand Down
16 changes: 8 additions & 8 deletions atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ layout: nil
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

<title>Matt Swanson</title>
<link href="http://mdswanson.com/atom.xml" rel="self"/>
<link href="http://mdswanson.com/"/>
<title>The blog of {{ site.theme.name }}</title>
<link href="{{ site.url }}/atom.xml" rel="self"/>
<link href="{{ site.url }}"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>http://mdswanson.com/</id>
<id>{{ site.url }}</id>
<author>
<name>Matt Swanson</name>
<email>[email protected]</email>
<name>{{ site.theme.name }}</name>
<email>{{ site.theme.email }}</email>
</author>

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

0 comments on commit c985b6e

Please sign in to comment.