Table of contents
Open Table of contents
other elements
other elements are:
- ogImage
og image of the post; useful for social media sharing and seo search engine optimisation - default = SITE.ogImage or generated OG image
- canonicalURL
canonical url absolute, incase the article already exists on other source - default = Astro.site + Astro.url.pathname
- headings
headings should be in a h2 - h6 format because the blog posts use title as the main heading
- using table of contents
the toc should be in h2 and worded as “Table of contents” with the capital letter at the start
- modifying a post
modDatetime should be added with the same iso 8601 format has the publish date time; this should only be added after a post is modified