hacks-guide-minimal-mistake.../test/_posts/2012-03-15-layout-sidebar-custom.md
2018-12-04 14:20:00 -05:00

27 lines
No EOL
604 B
Markdown

---
title: "Layout: Sidebar Custom"
excerpt: "A post with custom sidebar content."
author_profile: false
sidebar:
- title: "Title"
image: http://placehold.it/350x250
image_alt: "image"
text: "Some text here."
nav: sidebar-sample
- title: Another sidebar nav
nav: sidebar-sample
---
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."
```