How to create a blog index/summary inside a blog post

Hi everyone!

I was wondering if it is possible to create a summary/index inside a blog post (collection page), similar to the one below, where the text links take you to the respective titles and subtitles.

I tried to create links but since the content of the post is inside a collection I am not sure how to do it. Thank you in advance for your help!

Here is my public share link: LINK

Hi Lucia! Any solutions you found?

Here is a good script that will generate a table of contents. Tocbot


Thanks a lot. Will check it now.

Just stumbling across this, looks like a solid solution has already been posted but I’ve recently come across another that may be of interest as well: