gurusabarish / hugo-profile

A highly customizable and mobile first Hugo template for personal portfolio and blog.

Home Page:https://hugo-profile.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TOC missing in .Rmd

MichalLauer opened this issue · comments

Describe the bug
.Rmd files do not have TOC generated, but .md files do.

To Reproduce
Steps to reproduce the behavior:

  1. Create sample Hugo project with this template
  2. Create .Rmd file in content/post or content/blogs
  3. Generate site
  4. See no TOC

Expected behavior
There should be a TOC generated from the file structure.

Screenshots
Generated website (modified to .Rmd)
image
yaml header
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 105.0.5195.102

Hii @MichalLauer , try to add toc: false instead of toc: null

Hi,

after some googling it's not a template issue but hugo/blogdown issue. I needed to specify HTML output, not .md output:)