website/www: enable the blog feed

This commit is contained in:
Mitchell Hashimoto 2013-09-18 17:36:35 -07:00
parent 590566095a
commit 155ef1f06e
5 changed files with 12 additions and 3 deletions

View File

@ -1,5 +1,6 @@
source 'https://rubygems.org'
gem "builder", "~> 3.2.2"
gem "less", "~> 2.2.2"
gem "middleman", "~> 3.1.5"
gem "middleman-blog", "~> 3.3.0"

View File

@ -4,6 +4,7 @@ GEM
activesupport (3.2.14)
i18n (~> 0.6, >= 0.6.4)
multi_json (~> 1.0)
builder (3.2.2)
chunky_png (1.2.8)
coffee-script (2.2.0)
coffee-script-source
@ -111,6 +112,7 @@ PLATFORMS
ruby
DEPENDENCIES
builder (~> 3.2.2)
highline (~> 1.6.15)
less (~> 2.2.2)
middleman (~> 3.1.5)

View File

@ -33,6 +33,8 @@
# @which_fake_page = "Rendering a fake page with a variable"
# end
page "/blog_feed.xml", layout: false
###
# Helpers
###

View File

@ -20,7 +20,7 @@ It can be as general as how to use a certain feature of Vagrant, or as
specific as how to use Vagrant to develop a certain application or in
a certain language.
Please subscribe [to the RSS feed](#).
Please subscribe [to the RSS feed](/blog_feed.xml).
We look forward to shipping blog posts shortly!
READMORE

View File

@ -19,7 +19,7 @@
<div class="Modules blog-post page-contents span9 offset3">
<!-- start page content -->
<div class="row">
<div class="span7 offset1">
<div class="span8 offset1">
<article>
<div class="meta">
<span class="meta date">
@ -30,7 +30,11 @@
<% end %>
</div>
<h2><%= current_article.title %></h2>
<%= yield %>
<div class="row">
<div class="span7">
<%= yield %>
</div>
</div>
</article>
</div> <!-- /span -->
</div> <!-- /row -->