Skip to content

Commit

Permalink
Adding RSS links and <link>. D'oh.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bleigh committed Feb 10, 2009
1 parent c9cab22 commit 943b392
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions _layouts/master.html
Expand Up @@ -8,6 +8,7 @@
<link rel="stylesheet" href="/stylesheets/master.css" type="text/css" media="screen" charset="utf-8"/> <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.js" type="text/javascript" charset="utf-8"></script>
<script src="/javascripts/jquery.github.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> </head>
<body> <body>
<div id='wrapper'> <div id='wrapper'>
Expand Down
2 changes: 2 additions & 0 deletions blog.html
Expand Up @@ -4,6 +4,8 @@
full_posts: 5 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 %} {% for post in site.posts %}
{% if forloop.index < page.full_posts %} {% if forloop.index < page.full_posts %}
<div class='post'> <div class='post'>
Expand Down
Binary file added images/subscribe-icon.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/subscribe.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -4,7 +4,7 @@
--- ---


<div class='home_box' id='home_left'> <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'> <div class='post'>
<h1><a href='{{site.posts.first.url}}'>{{site.posts.first.title}}</a></h1> <h1><a href='{{site.posts.first.url}}'>{{site.posts.first.title}}</a></h1>
Expand Down
7 changes: 6 additions & 1 deletion stylesheets/master.css
Expand Up @@ -231,4 +231,9 @@ div.related {
display: inline-block; display: inline-block;
float: none; float: none;
vertical-align: top; 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.