From 1c574d24b7fdd482499fa9553c19342b6a4d391e Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Tue, 24 Jan 2012 21:53:22 +0800 Subject: created --- source/_includes/post/author.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 source/_includes/post/author.html (limited to 'source/_includes/post/author.html') 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 %}Posted by {{ author }}{% endif %} -- cgit v1.2.3