Permalink
Browse files

Adding RSS links and <link>. D'oh.

  • Loading branch information...
1 parent c9cab22 commit 943b3929b68bedd0c58cff2145f4a8c722b80821 Michael Bleigh committed Feb 10, 2009
@@ -8,6 +8,7 @@
<link rel="stylesheet" href="/stylesheets/master.css" type="text/css" media="screen" charset="utf-8"/>
<script src="/javascripts/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="/javascripts/jquery.github.js" type="text/javascript" charset="utf-8"></script>
+ <link rel='alternate' type='application/rss+xml' href='http://feeds2.feedburner.com/mbleigh' />
</head>
<body>
<div id='wrapper'>
View
@@ -4,6 +4,8 @@
full_posts: 5
---
+<a href='http://feeds2.feedburner.com/mbleigh' class='float-right'><img src='/images/subscribe.png' alt='Subscribe to XML Feed'/></a>
+
{% for post in site.posts %}
{% if forloop.index < page.full_posts %}
<div class='post'>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -4,7 +4,7 @@
---
<div class='home_box' id='home_left'>
- <h2>Latest Blog Post (<a href='/blog.html'>More</a>)</h2>
+ <h2><a href='http://feeds2.feedburner.com/mbleigh' class='float-right'><img src='/images/subscribe-icon.gif' alt='Subscribe'/></a> Latest Blog Post (<a href='/blog.html'>More</a>)</h2>
<div class='post'>
<h1><a href='{{site.posts.first.url}}'>{{site.posts.first.title}}</a></h1>
@@ -231,4 +231,9 @@ div.related {
display: inline-block;
float: none;
vertical-align: top;
-}
+}
+
+.float-left { float: left; }
+.float-right { float: right; }
+
+a img { border: 0; }

0 comments on commit 943b392

Please sign in to comment.