Improved support for adding author metadata to pages

This commit is contained in:
Brandon Mathis
2011-07-29 16:27:13 -04:00
parent 20de112526
commit d6744967fa
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,7 @@
{% if post.author %}
{% assign author = post.author %}
{% elsif page.author %}
{% assign author = page.author %}
{% else %}
{% assign author = site.author %}
{% endif %}