codeninjasuk.github.io/test/_posts/2012-03-15-layout-sidebar-custom.md

27 lines
604 B
Markdown
Raw Normal View History

2023-07-18 11:33:33 -04:00
---
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."
```