I’m trying to generate a table contents based on the
<h2> lines in my page. I’ve tried using the
toc.php with a
(toc) callout in the text file, but that isn’t working for me (and others seem to indicate that it isn’t linked anyway). Ideally, I want a list that links down to each
<h2>, and then if you click the
<h2> it will take you back to the top of the page. It seems like this should be easy (and it is in plain HTML), but I just cannot get it to work in Kirby.
Thanks for your help/patience!