aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-06-17 14:40:04 +0100
committerLouise Crow <louise.crow@gmail.com>2014-06-17 14:40:04 +0100
commit980423d52caa077f9e07490cdd523c4cc46527d0 (patch)
tree40496590b9de47c7a96b7b28addd4fec33c62d37
parent61ac1cc498a44657569de58bd4dffbc0d89377de (diff)
Use author from post.
-rw-r--r--_layouts/post.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index 147f1e0b8..3248585f8 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -1,11 +1,10 @@
---
layout: page
---
-{% assign author = site.authors[page.author] %}
<div class="post">
<div class="blog-post-header">
<h1 class="blog-title">{{ page.title }}</h1>
- <p class="meta">by {{ author.display_name }}, on {{ page.date | date: "%d %B %Y" }}</p>
+ <p class="meta">by {{ page.author }}, on {{ page.date | date: "%d %B %Y" }}</p>
</div>
{{ content }}