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."
|
2021-06-23 13:55:12 +02:00
|
|
|
last_modified_at: 2021-06-23T07:53:04-04:00
|
2016-09-22 04:13:25 +02:00
|
|
|
author_profile: false
|
|
|
|
sidebar:
|
|
|
|
- title: "Title"
|
2021-06-23 13:55:12 +02:00
|
|
|
image: "/assets/images/350x250.png"
|
2016-09-22 04:13:25 +02:00
|
|
|
image_alt: "image"
|
|
|
|
text: "Some text here."
|
|
|
|
- title: "Another Title"
|
|
|
|
text: "More text here."
|
2018-12-04 20:17:54 +01:00
|
|
|
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"
|
2021-06-23 13:55:12 +02:00
|
|
|
image: "/assets/images/your-image.jpg"
|
2016-09-22 04:13:25 +02:00
|
|
|
image_alt: "image"
|
|
|
|
text: "Some text here."
|
|
|
|
- title: "Another Title"
|
|
|
|
text: "More text here."
|
2018-12-04 20:22:47 +01:00
|
|
|
nav: sidebar-sample
|
2016-09-22 04:13:25 +02:00
|
|
|
```
|