Merge branch 'feature/more-sample-posts' into develop
This commit is contained in:
commit
e6664adc0c
4 changed files with 37 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
9
_posts/2012-03-15-template-author-sidebar-disabled.md
Normal file
9
_posts/2012-03-15-template-author-sidebar-disabled.md
Normal 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.
|
26
_posts/2012-03-15-template-sidebar-custom.md
Normal file
26
_posts/2012-03-15-template-sidebar-custom.md
Normal 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."
|
||||||
|
```
|
Loading…
Reference in a new issue