Merge branch 'feature/more-sample-posts' into develop

This commit is contained in:
Michael Rose 2016-03-09 12:23:08 -05:00
commit e6664adc0c
4 changed files with 37 additions and 1 deletions

View file

@ -161,7 +161,7 @@ defaults:
type: portfolio type: portfolio
values: values:
layout: single layout: single
author_profile: true author_profile: false
share: true share: true
# Plugins # Plugins

View file

@ -2,6 +2,7 @@
layout: archive layout: archive
permalink: /tag-archive/ permalink: /tag-archive/
title: "Posts by Tags" title: "Posts by Tags"
author_profile: false
--- ---
{% include base_path %} {% include base_path %}

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."
```