TOC is generated by headings H1-H6, I suppose the post outline is incorrect (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements);
--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!