Add example site for testing
This commit is contained in:
26
example/_posts/2012-03-15-layout-sidebar-custom.md
Executable file
26
example/_posts/2012-03-15-layout-sidebar-custom.md
Executable file
@ -0,0 +1,26 @@
|
||||
---
|
||||
title: "Layout: 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."
|
||||
```
|
Reference in New Issue
Block a user