<%= post_date.day %>
diff --git a/layouts/article.html b/layouts/article.html
index 77dd37e..44eb2c4 100644
--- a/layouts/article.html
+++ b/layouts/article.html
@@ -1,3 +1,13 @@
+<% post_date = WezM::Helpers.parse_post_date(@item) %>
+
+ Published on
+
+ <%= post_date.strftime('%a') %>,
+ <%= post_date.day %>
+ <%= post_date.strftime('%B') %>
+ <%= post_date.year %>
+
+
<%= yield %>
<% short = short_url("http://www.wezm.net#{@item.identifier}") %>
diff --git a/lib/helpers.rb b/lib/helpers.rb
index c091154..885b122 100644
--- a/lib/helpers.rb
+++ b/lib/helpers.rb
@@ -3,7 +3,7 @@ require 'time'
module WezM
module Helpers
- def self.post_date(article)
+ def self.parse_post_date(article)
Time.parse(article[:created_at])
end
diff --git a/output/css/style.css b/output/css/style.css
index da83bf5..e36c69a 100644
--- a/output/css/style.css
+++ b/output/css/style.css
@@ -280,6 +280,19 @@ ul.inline li:first-child {
height: 19px;
}
+/* Extra parts on post page */
.respond {
- border-top: 1px solid gray;
+/* border-top: 1px solid gray;*/
}
+.respond h2 {
+ padding-left: 42px;
+ line-height: 32px;
+ background: url(/images/comment32.png) no-repeat top left;
+}
+.published {
+ font-family: "Helvetica Neue", Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif;
+ color: #999;
+/* margin-top: -3px;*/
+ padding-bottom: 10px;
+ font-size: 14px;
+}
\ No newline at end of file
diff --git a/output/images/comment32.png b/output/images/comment32.png
new file mode 100755
index 0000000..906b77e
Binary files /dev/null and b/output/images/comment32.png differ