How to add to .Content before rendering?

.Content is the rendered markdown (defined below the front matter) in your content file. It is an immutable value.

If you want to include front matter within .Content, you must use a shortcode.

If you want the heading elements of a rendered shortcode to be included in the .TableOfContents, you must call the shortcode using the {{% my-shortcode %}} notation.

3 Likes