Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1 KB

page-with-contents.md

File metadata and controls

43 lines (31 loc) · 1 KB
layout title subtitle toc menubar show_sidebar
page
Page With Contents
Example page with contents
true
example_menu
false

Introduction

This is an example page with contents that are generated from the page content.

The page contents are generated automatically using Jekyll TOC.

Set Up

To add contents to your page add toc: true to the page's front matter.

Contents Title

To overwrite the default title for the contents, set toc_title: My Custom Title in the page's front matter.

Example Front Matter

layout: page
title: Page With Contents
toc: true
toc_title: Custom Title

Displaying the contents in the menubar

If you would prefer to display the contents in the menubar at the side of the page, then use menubar_toc: true instead of toc: true. This will also override the page's menubar setting.

layout: page
title: Page With Contents
menubar_toc: true
toc_title: Custom Title