Layout: Post with Nested Table of Contents via Helper
Tests table of contents with multiple levels to verify indentation is readible via helper include (deprecated).
{% raw %}{% include toc %}{% endraw %}
{% include toc %}
Enim laboris id ea elit elit deserunt
Magna incididunt elit id enim nisi quis excepteur reprehenderit Lorem dolore dolore ad enim. Labore esse elit excepteur et elit dolor. Elit ut consectetur labore velit elit esse voluptate id commodo. Magna cillum officia consequat non occaecat mollit esse nisi quis.
Layout: Post with Sticky Table of Contents
“Stick” table of contents to the top of a page by adding toc_sticky: true
to its YAML Front Matter.
---
toc: true
toc_sticky: true
---
HTML Elements
Below is just about everything you’ll need to style in the theme. Check the source code to see the many embedded elements within paragraphs.
Body text
Lorem ipsum dolor sit amet, test link adipiscing elit. This is strong. Nullam dignissim convallis est. Quisque aliquam.
 {: .image-right}
Layout: Post with Table of Contents
Enable table of contents on post or page by adding toc: true
to its YAML Front Matter. The title and icon can also be changed with:
---
toc: true
toc_label: "Unique Title"
toc_icon: "heart" # corresponding Font Awesome icon name (without fa prefix)
---
HTML Elements
Below is just about everything you’ll need to style in the theme. Check the source code to see the many embedded elements within paragraphs.
Body text
Lorem ipsum dolor sit amet, test link adipiscing elit. This is strong. Nullam dignissim convallis est. Quisque aliquam.
Layout: Read Time Disabled
This post has reading time disabled. The estimated time that it takes to read this post should not be showing if read_time: false
is set in _config.yml
or in this post’s YAML Front Matter.
If you could keep awake (but of course you can’t) you would see your own mother doing this, and you would find it very interesting to watch her. It is quite like tidying up drawers. You would see her on her knees, I expect, lingering humorously over some of your contents, wondering where on earth you had picked this thing up, making discoveries sweet and not so sweet, pressing this to her cheek as if it were as nice as a kitten, and hurriedly stowing that out of sight. When you wake in the morning, the naughtiness and evil passions with which you went to bed have been folded up small and placed at the bottom of your mind and on the top, beautifully aired, are spread out your prettier thoughts, ready for you to put on.
Layout: Read Time Enabled
This post has reading time enabled. The estimated time that it takes to read this post should show if also enabled in _config.yml
with read_time: true
.
If you could keep awake (but of course you can’t) you would see your own mother doing this, and you would find it very interesting to watch her. It is quite like tidying up drawers. You would see her on her knees, I expect, lingering humorously over some of your contents, wondering where on earth you had picked this thing up, making discoveries sweet and not so sweet, pressing this to her cheek as if it were as nice as a kitten, and hurriedly stowing that out of sight. When you wake in the morning, the naughtiness and evil passions with which you went to bed have been folded up small and placed at the bottom of your mind and on the top, beautifully aired, are spread out your prettier thoughts, ready for you to put on.
Layout: Reading Time, Comments, Social Sharing Links, and Related Posts Disabled
This post has reading time, comments, social sharing links, and related posts disabled.
Reading time, comments, social sharing and related post links should not appear.
Layout: Related Posts Disabled
This post has related posts disabled.
Related post links should not appear.
Layout: Sidebar Custom
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
Layout: Sidebar with Navigation List
This post has a custom navigation list set in the post’s YAML Front Matter.
sidebar:
title: "Sample Title"
nav: sidebar-sample
Along with navigation elements set in _data/navigation.yml
.
sidebar-sample:
- title: "Parent Page A"
children:
- title: "Child Page A1"
url: /
- title: "Child Page A2"
url: /
- title: "Child Page A3"
url: /
- title: "Child Page A4"
url: /
- title: "Parent Page B"
children:
- title: "Child Page B1"
url: /
- title: "Child Page B2"
url: /
- title: "Child Page B3"
url: /
- title: "Child Page B4"
url: /
- title: "Child Page B5"
url: /
- title: "Parent Page C"
children:
- title: "Child Page C1"
url: /
- title: "Child Page C2"
url: /
- title: "Child Page C3"
url: /
- title: "Child Page C4"
url: /
- title: "Child Page C5"
url: /
- title: "Parent Page D"
children:
- title: "Child Page D1"
url: /
- title: "Child Page D2"
url: /