-
Beta Was this translation helpful? Give feedback.
Answered by
h-enk
Mar 18, 2024
Replies: 2 comments
-
That's not supported out-of-the-box You could overwrite the blog single template and add the ToC (based on the
And, you'll get something like this: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
siyehua
-
wow,thanks, it works! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's not supported out-of-the-box
You could overwrite the blog single template and add the ToC (based on the
_default/single.html
template) — for example:node_modules/@hyas/doks-core/layouts/blog/single.html
and paste aslayouts/blog/single.html
toc: true
(nottop: true
— typo in your code example)And, you'll get something like this: