wermos / blog

Home of my own blog.
https://wermos.github.io/blog/
0 stars 1 forks source link

Add (optional) table of contents. #23

Closed wermos closed 1 year ago

wermos commented 1 year ago

A table of contents would help users get a sense of what they're getting into while reading a long blog post, and also skip to the section they're interested in.

wermos commented 1 year ago

The minimal-mistakes theme has built-in support for tables of content. All I had to do was add toc: true to the front matter.