diff --git a/layouts/default.html b/layouts/default.html index 1020a8a..1423bfe 100644 --- a/layouts/default.html +++ b/layouts/default.html @@ -11,7 +11,7 @@ <%= render 'header' %>
-

<%= @item[:title] %>

+

<%= @item[:title] %>

<%= yield %>
<%= render 'footer' %> diff --git a/layouts/header.html b/layouts/header.html index 16ad63f..5125a64 100644 --- a/layouts/header.html +++ b/layouts/header.html @@ -1,11 +1,13 @@ diff --git a/layouts/listing.html b/layouts/listing.html index 82baf13..b4b637e 100644 --- a/layouts/listing.html +++ b/layouts/listing.html @@ -11,9 +11,25 @@ <%= render 'header' %>
+ + +
<%= render 'footer' %> diff --git a/lib/helpers.rb b/lib/helpers.rb new file mode 100644 index 0000000..c091154 --- /dev/null +++ b/lib/helpers.rb @@ -0,0 +1,11 @@ +require 'time' + +module WezM + module Helpers + + def self.post_date(article) + Time.parse(article[:created_at]) + end + + end +end diff --git a/output/css/style.css b/output/css/style.css index 178d305..e01e273 100644 --- a/output/css/style.css +++ b/output/css/style.css @@ -12,7 +12,7 @@ body { } p,li { - font-size: 1.4em; + font-size: 1.6em; line-height: 1.2; } @@ -72,6 +72,15 @@ a:hover { /* color: #f90;*/ } +h1 a { + text-decoration: none; +} + +h1 a:link, +h1 a:visited { + color: #111; +} + sup { vertical-align: super; font-size: 0.8em; diff --git a/output/images/feed-icon-14x14.png b/output/images/feed-icon-14x14.png new file mode 100755 index 0000000..b3c949d Binary files /dev/null and b/output/images/feed-icon-14x14.png differ