- Jekyll ignore `/docs` and `/test` folders when using from root - Update Staticman config to point to correct branch and data file location - Replace `{{ base_path }}` references with `absolute_url` filter - Update documentation
26 lines
579 B
Markdown
26 lines
579 B
Markdown
---
|
|
title: "Layout: Sidebar Custom"
|
|
excerpt: "A post to custom sidebar content."
|
|
author_profile: false
|
|
sidebar:
|
|
- title: "Title"
|
|
image: http://placehold.it/350x250
|
|
image_alt: "image"
|
|
text: "Some text here."
|
|
- title: "Another Title"
|
|
text: "More text here."
|
|
---
|
|
|
|
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."
|
|
``` |