Add author data to posts if available.

This commit is contained in:
Jade Dominguez 2013-05-19 17:12:02 -07:00
parent 546cad2fdc
commit 5446c8600d
1 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,11 @@
layout : default
---
{{# page.author?to_data }}
<strong>{{ name }}</strong>
<p>{{ bio }}</p>
{{/ page.author?to_data }}
<div class="page-header">
<h1>{{ page.title }} {{# page.tagline }} <small>{{ . }}</small>{{/ page.tagline }}</h1>
</div>