summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToM <tom@leloop.org>2013-04-12 13:30:32 +0200
committerToM <tom@leloop.org>2013-04-12 13:30:32 +0200
commitd2249793265e381bbdd1a739cce456a0b48c1ca6 (patch)
treed74101bab22881f0286cb119d62df74139e02ffe
parent01347e2eefa223ef75a0f335e8bf5cd06a9539dc (diff)
[ENH] Add author.
-rw-r--r--_templates/post.mako2
-rw-r--r--_templates/post_excerpt.mako2
2 files changed, 2 insertions, 2 deletions
diff --git a/_templates/post.mako b/_templates/post.mako
index 18a0399..4b9a81d 100644
--- a/_templates/post.mako
+++ b/_templates/post.mako
@@ -2,7 +2,7 @@
<div class="post roundedTop">
<a name="${post.slug}"></a>
<div class="post_title roundedTop"><a href="${post.permapath()}" rel="bookmark" title="Permanent Link to ${post.title}">${post.title}</a></div>
- <div class="post_extras">${post.date.strftime("%B %d, %Y at %H:%M")} | categories:
+ <div class="post_extras">${post.date.strftime("%B %d, %Y at %H:%M")} | by ${post.author} | categories:
<%
category_links = []
for category in post.categories:
diff --git a/_templates/post_excerpt.mako b/_templates/post_excerpt.mako
index 98ffb1a..f2158c0 100644
--- a/_templates/post_excerpt.mako
+++ b/_templates/post_excerpt.mako
@@ -1,7 +1,7 @@
<%page args="post"/>
<div class="post roundedTop">
<div class="post_title roundedTop"><a href="${post.permapath()}" rel="bookmark" title="Permanent Link to ${post.title}">${post.title}</a></div>
- <div class="post_extras">${post.date.strftime("%B %d, %Y at %H:%M")} | categories:
+ <div class="post_extras">${post.date.strftime("%B %d, %Y at %H:%M")} | by ${post.author} | categories:
<%
category_links = []
for category in post.categories: