Add author data to posts if available.
This commit is contained in:
parent
546cad2fdc
commit
5446c8600d
|
@ -2,6 +2,11 @@
|
||||||
layout : default
|
layout : default
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{{# page.author?to_data }}
|
||||||
|
<strong>{{ name }}</strong>
|
||||||
|
<p>{{ bio }}</p>
|
||||||
|
{{/ page.author?to_data }}
|
||||||
|
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>{{ page.title }} {{# page.tagline }} <small>{{ . }}</small>{{/ page.tagline }}</h1>
|
<h1>{{ page.title }} {{# page.tagline }} <small>{{ . }}</small>{{/ page.tagline }}</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue