From d6744967fa7572101202d239727b7983004e9603 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Fri, 29 Jul 2011 16:27:13 -0400 Subject: Improved support for adding author metadata to pages --- .themes/classic/source/_includes/post/author.html | 2 ++ .themes/classic/source/_layouts/page.html | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to '.themes/classic/source') diff --git a/.themes/classic/source/_includes/post/author.html b/.themes/classic/source/_includes/post/author.html index b2db9043..83dd6a89 100644 --- a/.themes/classic/source/_includes/post/author.html +++ b/.themes/classic/source/_includes/post/author.html @@ -1,5 +1,7 @@ {% if post.author %} {% assign author = post.author %} +{% elsif page.author %} + {% assign author = page.author %} {% else %} {% assign author = site.author %} {% endif %} diff --git a/.themes/classic/source/_layouts/page.html b/.themes/classic/source/_layouts/page.html index a2fc41ed..34cb3430 100644 --- a/.themes/classic/source/_layouts/page.html +++ b/.themes/classic/source/_layouts/page.html @@ -11,7 +11,11 @@ layout: default {{ content }} {% unless page.footer == false %}