website/www: enable the blog feed
This commit is contained in:
parent
590566095a
commit
155ef1f06e
|
@ -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"
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -33,6 +33,8 @@
|
|||
# @which_fake_page = "Rendering a fake page with a variable"
|
||||
# end
|
||||
|
||||
page "/blog_feed.xml", layout: false
|
||||
|
||||
###
|
||||
# Helpers
|
||||
###
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 -->
|
||||
|
|
Loading…
Reference in New Issue