How to have a table of content in page which is using EJS Template #10721
Replies: 2 comments 6 replies
-
By TOC, do you mean a table of content of the headers inside the custom listing page ? Or something different for the content of the listings in Can you try build a reproducible example as a github repo for example ? This would help us play with the example and understand what you want. |
Beta Was this translation helpful? Give feedback.
-
Yes, by TOC, I mean table of content of headers!
I have extracted a small data of site and made this reproducible repo! Those years with I think other Quarto features works fine with pages generating from EJS Templates, so table of content should also appear! Thanks, @cderv! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Is there anyway I can get the table of content in a page that is generating from this setup?
index.qmd:
templates/years.ejs:
sample yaml data:
Beta Was this translation helpful? Give feedback.
All reactions