"Layout: Sidebar Custom"

Published: Thu 15 March 2012
By octt

In posts.

  • title: "Title" image: "/assets/images/350x250.png" image_alt: "image" text: "Some text here."
  • title: "Another Title" text: "More text here." 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:

sidebar:
  - title: "Title"
    image: "/assets/images/your-image.jpg"
    image_alt: "image"
    text: "Some text here."
  - title: "Another Title"
    text: "More text here."
    nav: sidebar-sample

links

social