mirror of
https://github.com/codeninjasuk/codeninjasuk.github.io.git
synced 2024-11-29 10:45:42 -05:00
27 lines
604 B
Markdown
27 lines
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."
|
||
|
```
|