all repos — h3rald @ b71c0c77d3e0fc2453da3782101d1050eedd19d3

The sources of https://h3rald.com

Fixed minor errors, added HTML5shiv.
h3rald h3rald@h3rald.com
Thu, 03 Jan 2013 11:57:16 +0100
commit

b71c0c77d3e0fc2453da3782101d1050eedd19d3

parent

1f19843836a65ce2fbc8f2417864211bd769034b

4 files changed, 9 insertions(+), 7 deletions(-)

jump to
M layouts/article_intro.erblayouts/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("%Y-%m-%d") %>" pubdate="pubdate"><%= @item[:date].strftime("%A, %B %d %Y") %></time></p> + <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> <div class="clearfix"></div> </header> <section class="<%= @classes %>">
M layouts/default.erblayouts/default.erb

@@ -16,13 +16,8 @@ <% end %>

<% end %> <meta charset="utf-8" /> <meta name="author" content="Fabio Cevasco" /> - <meta name="copyright" content="Fabio Cevasco" /> <meta name="robots" content="all, follow" /> <meta name="Revisit-After" content="2 Days" /> - <meta name="language" content="en" /> - <meta name="target_country" content="en-us" /> - <meta name="country" content="United States" /> - <meta name="readability-verification" content="XmaVzRjmcFL5Bb2Fu9TZVdDKzhA3apQdxexTB2rK"/> <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <%

@@ -42,6 +37,9 @@ <link rel="shortcut icon" href="/favicon.png" type="image/png" />

<meta content="44.388041;9.073248" name="ICBM" /> <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> <script src="http://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> <script src="/js/sevenup.js" type="text/javascript"></script> <script src="/js/sevenup_black.js" type="text/javascript"></script>
M layouts/header.erblayouts/header.erb

@@ -13,7 +13,11 @@ %><div class="container">

<div class="row" id="header-row"> <div class="span6 main-title"> <h1> + <% if @item[:permalink] != 'home' then %> + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + <% else %> <img src="/img/h3rald.png" alt="H3RALD" /> + <% end %> </h1> </div> <div class="span4 offset2">
M layouts/page_meta.erblayouts/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("%Y-%d-%d") %>" pubdate="pubdate"><%= @item[:date].strftime("%A, %B %d %Y") %></time> + <i class="icon-calendar"></i> <time datetime="<%= @item[:date].strftime("%FT%T%:z") %>"><%= @item[:date].strftime("%A, %B %d %Y") %></time> <li><i class="icon-tags"></i> <%= tags_for(@item) %></li> </li> <%= "<li>#{pdf}</li>" if pdf %>