Browse files

blog: Show category in post metadata

  • Loading branch information...
1 parent 441e792 commit de89bbb00cb202bf0d71e505fcfc01709689f51f @isaacs isaacs committed Jun 21, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 doc/blog.html
View
10 doc/blog.html
@@ -9,7 +9,7 @@
#column1 h1 {
clear:both;
}
- #colum1 {
+ #column1 {
font-size: 14px;
}
#column1 li, #content h1 + p {
@@ -92,8 +92,8 @@
%>
<p class="meta"><%=
post.author + ' - ' +
- post.date.toUTCString().replace(/ GMT$/, '')
- %></p>
+ post.date.toUTCString().replace(/ GMT$/, '') + ' - '
+ %><a href="/<%= post.category %>/"><%= post.category %></a></p>
<%- post.content %>
@@ -149,8 +149,8 @@
%></a></h1>
<p class="meta"><%=
post.author + ' - ' +
- post.date.toUTCString().replace(/ GMT$/, '')
- %></p>
+ post.date.toUTCString().replace(/ GMT$/, '') + ' - '
+ %><a href="/<%= post.category %>/"><%= post.category %></a></p>
<%- post.content %>
</div>
<%

0 comments on commit de89bbb

Please sign in to comment.