Add a table of contents to blog posts
Create a new table-of-contents element on blog posts to allow viewing an overview of the content and linking to the various sections.
The table of contents should be optional (controlled by field in frontmatter) and remain visible on the page as the user scrolls down the page.