~xdavidwu/xdavidwu.link

ref: 6c0144ff2935eb19f35937a016721dcfdcad2b9c xdavidwu.link/example/_posts/2012-03-15-layout-sidebar-custom.md -rwxr-xr-x 579 bytes
6c0144ff — Michael Rose Merge branch 'release/4.0.4' 8 years ago

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:

sidebar:
  - title: "Title"
    image: http://placehold.it/350x250
    image_alt: "image"
    text: "Some text here."
  - title: "Another Title"
    text: "More text here."