Add author sidebar disabled and custom sidebar content sample posts

This commit is contained in:
Michael Rose 2016-03-09 12:22:18 -05:00
parent 4a1ab51ec9
commit 9662a83a5c
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,9 @@
---
title: "Template: Author Sidebar Disabled"
excerpt: "A post to test disabling author sidebar."
author_profile: false
---
This post has the author sidebar disabled.
To disable add `author_profile: false` to YAML Front Matter.

View file

@ -0,0 +1,26 @@
---
title: "Template: Sidebar Custom"
excerpt: "A post to custom sidebar content."
author_profile: false
sidebar:
- title: "Title"
image: http://placehold.it/350x250
image_alt: "image"
text: "Some text here."
- title: "Another Title"
text: "More text here."
---
This post has a custom sidebar set in the post's YAML Front Matter..
An example of how that YAML could look is:
```yaml
sidebar:
- title: "Title"
image: http://placehold.it/350x250
image_alt: "image"
text: "Some text here."
- title: "Another Title"
text: "More text here."
```