Get the content without the summary

On my site, I sometimes want to use tables of content. However, I would prefer to include them after the first paragraph (similar to how Wikipedia does it). My idea is to use the break created by adding a summary (with <!-- more -->), i.e. put the summary on top, then the table of contents, then the rest of the content. For this, I would need a page variable containing only the rest of the content, so the summary doesn’t repeat (and preferably without the auto-generated continue-reading span, as I can add that myself in this case). Does something like this exist? Or is there another way of injecting a table of contents into the middle of my post?

1 Like

There’s no way to do that right now in zola, but that would be easy to do in JS