Skip to content

Commit

Permalink
Create 2012-03-15-layout-sidebar-custom.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rayyangh committed Dec 1, 2024
1 parent 86430e3 commit fdb9d50
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions _posts/2012-03-15-layout-sidebar-custom.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
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."
```

0 comments on commit fdb9d50

Please sign in to comment.