summaryrefslogtreecommitdiffstats
path: root/source/_includes/post/author.html
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-01-24 14:53:22 +0100
committerSkyArrow <tommy351@gmail.com>2012-01-24 14:53:22 +0100
commit1c574d24b7fdd482499fa9553c19342b6a4d391e (patch)
tree3381ce235c72044d6fa76243e9d6948c737a6e4f /source/_includes/post/author.html
downloadoctopress-theme-jeyzu-1c574d24b7fdd482499fa9553c19342b6a4d391e.zip
octopress-theme-jeyzu-1c574d24b7fdd482499fa9553c19342b6a4d391e.tar.gz
created
Diffstat (limited to 'source/_includes/post/author.html')
-rw-r--r--source/_includes/post/author.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/_includes/post/author.html b/source/_includes/post/author.html
new file mode 100644
index 0000000..83dd6a8
--- /dev/null
+++ b/source/_includes/post/author.html
@@ -0,0 +1,8 @@
+{% if post.author %}
+ {% assign author = post.author %}
+{% elsif page.author %}
+ {% assign author = page.author %}
+{% else %}
+ {% assign author = site.author %}
+{% endif %}
+{% if author %}<span class="byline author vcard">Posted by <span class="fn">{{ author }}</span></span>{% endif %}