Hello,
I am using papermod theme and created the following post below. I have set UseHugoToc: true and ShowToc: true. However, no ToC is rendered. Any help appricated! Thank you.
---
title: "Making general recipe"
date: 2024-01-03
draft: false
UseHugoToc: true
ShowToc: true
tocopen: true
summary: "A brief tutorial on creating recipe"
categories: ["recipe"]
---
This article will provide a brief overview of recipe.
## Acquiring goods
In this step 1.
## Layering piles
In this step 2.
This article will provide a brief overview of pile.
# Acquiring goods
In this step 1.
## Layering piles
In this step 2.
hugo new site mysite
cd mysite
git init
git submodule add https://github.com/adityatelange/hugo-PaperMod themes/papermod
echo "theme = 'papermod'" >> hugo.toml
hugo new recipes/tutorial.md
Then I pasted your markdown and ran hugo serverβ¦
Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.
If you canβt share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem youβre experiencing.
Also, I just learned that TOC does not work when file is named /content/articles/mynewpost/_index.md. _index.md should be any other name than _index.md.