2016-09-22 04:13:25 +02:00
|
|
|
---
|
|
|
|
title: "Layout: Sidebar Custom"
|
2016-11-17 21:12:18 +01:00
|
|
|
excerpt: "A post with custom sidebar content."
|
2016-09-22 04:13:25 +02:00
|
|
|
author_profile: false
|
|
|
|
sidebar:
|
|
|
|
- title: "Title"
|
|
|
|
image: http://placehold.it/350x250
|
|
|
|
image_alt: "image"
|
|
|
|
text: "Some text here."
|
2018-12-04 20:17:54 +01:00
|
|
|
nav: sidebar-sample
|
2018-12-04 20:20:00 +01:00
|
|
|
- title: Another sidebar nav
|
|
|
|
nav: sidebar-sample
|
2016-09-22 04:13:25 +02:00
|
|
|
---
|
|
|
|
|
2016-11-17 21:12:18 +01:00
|
|
|
This post has a custom sidebar set in the post's YAML Front Matter.
|
2016-09-22 04:13:25 +02:00
|
|
|
|
|
|
|
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."
|
|
|
|
```
|