Minor fixes.
h3rald h3rald@h3rald.com
Thu, 03 Jan 2013 12:15:59 +0100
4 files changed,
4 insertions(+),
4 deletions(-)
M
content/articles/the-rails3-way-review.glyph
→
content/articles/the-rails3-way-review.glyph
@@ -9,7 +9,7 @@ :toc: true
:permalink: the-rails3-way-review :pdf: true :intro: | - Obie did it, again. With the second edition of his former masterpiece, _The Rails Way_, he managed to outdo himself delivering a new, even more useful, Rails Bible. Wether you're a Ruby on Rails professional like him or just an enthusiast, this book is pretty much everything you need to learn how to master the third release of DHH(David Heinameier Hansson)'s Ruby web framework. + Obie did it, again. With the second edition of his former masterpiece, _The Rails Way_, he managed to outdo himself delivering a new, even more useful, Rails Bible. Wether you're a Ruby on Rails professional like him or just an enthusiast, this book is pretty much everything you need to learn how to master the third release of DHH's Ruby web framework. "The Rails 3 Way":http://tr3w.com/ is no ordinary second edition. If you already own _The Rails Way_, you'll be pleasantly surprised that this is a different, more polished book. While something had to remain the same, there's a lot of new content in its 708 pages, and even the old content has been rewritten or at least revised.
M
layouts/article_intro.erb
→
layouts/article_intro.erb
@@ -10,7 +10,7 @@ <h1><a href="<%= @item.identifier %>"><%= @item[:title]%></a></h1>
<% unless @item[:subtitle].blank? then %> <h2><%= @item[:subtitle] %></h2> <% end %> - <p class="pubdate pull-right"><i class="icon-calendar"></i> <time datetime="<%= @item[:date].strftime("%FT%T%:z") %>"><%= @item[:date].strftime("%A, %B %d %Y") %></time></p> + <p class="pubdate pull-right"><i class="icon-calendar"></i> <time datetime="<%= @item[:date].to_iso8601_time %>"><%= @item[:date].strftime("%A, %B %d %Y") %></time></p> <div class="clearfix"></div> </header> <section class="<%= @classes %>">
M
layouts/dated_article.erb
→
layouts/dated_article.erb
@@ -1,4 +1,4 @@
----- filter: erb ----- -<li><a href="/articles/<%= @article.attributes[:permalink]%>/"><%= @article.attributes[:title]%></a> (<span class="timeago" title="<%=@article.attributes[:date].to_iso8601_time%>"><%= @article.attributes[:date].strftime("%A, %d %B %Y")%></span>)</li> +<li><a href="/articles/<%= @article.attributes[:permalink]%>/"><%= @article.attributes[:title]%></a> (<time class="timeago" datetime="<%=@article.attributes[:date].to_iso8601_time%>"><%= @article.attributes[:date].strftime("%A, %d %B %Y")%></time>)</li>
M
layouts/page_meta.erb
→
layouts/page_meta.erb
@@ -14,7 +14,7 @@ </hgroup>
<% if @item[:type] == 'article' then %> <ul class="unstyled article-info span3"> <li> - <i class="icon-calendar"></i> <time datetime="<%= @item[:date].strftime("%FT%T%:z") %>"><%= @item[:date].strftime("%A, %B %d %Y") %></time> + <i class="icon-calendar"></i> <time datetime="<%= @item[:date].to_iso8601_time %>"><%= @item[:date].strftime("%A, %B %d %Y") %></time> <li><i class="icon-tags"></i> <%= tags_for(@item) %></li> </li> <%= "<li>#{pdf}</li>" if pdf %>