2016-09-21 22:13:25 -04:00
|
|
|
---
|
|
|
|
title: "Layout: Sidebar Custom"
|
2016-11-17 15:12:18 -05:00
|
|
|
excerpt: "A post with custom sidebar content."
|
2021-06-23 07:55:12 -04:00
|
|
|
last_modified_at: 2021-06-23T07:53:04-04:00
|
2016-09-21 22:13:25 -04:00
|
|
|
author_profile: false
|
|
|
|
sidebar:
|
|
|
|
- title: "Title"
|
2021-06-23 07:55:12 -04:00
|
|
|
image: "/assets/images/350x250.png"
|
2016-09-21 22:13:25 -04:00
|
|
|
image_alt: "image"
|
|
|
|
text: "Some text here."
|
|
|
|
- title: "Another Title"
|
|
|
|
text: "More text here."
|
2018-12-04 14:17:54 -05:00
|
|
|
nav: sidebar-sample
|
2016-09-21 22:13:25 -04:00
|
|
|
---
|
|
|
|
|
2016-11-17 15:12:18 -05:00
|
|
|
This post has a custom sidebar set in the post's YAML Front Matter.
|
2016-09-21 22:13:25 -04:00
|
|
|
|
|
|
|
An example of how that YAML could look is:
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
sidebar:
|
|
|
|
- title: "Title"
|
2021-06-23 07:55:12 -04:00
|
|
|
image: "/assets/images/your-image.jpg"
|
2016-09-21 22:13:25 -04:00
|
|
|
image_alt: "image"
|
|
|
|
text: "Some text here."
|
|
|
|
- title: "Another Title"
|
|
|
|
text: "More text here."
|
2018-12-04 14:22:47 -05:00
|
|
|
nav: sidebar-sample
|
2016-09-21 22:13:25 -04:00
|
|
|
```
|