From d139da3a3277f73d7f01e4283d8dc01630a5317c Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Mon, 20 Oct 2014 16:38:24 -0700 Subject: initial setup --- 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 00000000..83dd6a89 --- /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.1