Knowing that someone else out there felt the same pain was enough to push me to code up a quick solution. I don’t use the academic theme for Hugo (I use a modified version of hyde), so I’m not entirely sure if I can completely solve stanstrup’s problems, but I know I’ve run into something similar recently.Īnd while Yihui is probably right that the effort isn’t worth it when fiddling with trivial aesthetics, I use R Markdown in enough places and have run into this a few times. … If you could specify the position of the toc with some keyword you could work around it. When I use toc: true in a post the toc is inserted at the very top of the post.
GitHub user posted a question today on the blogdown GitHub repo about manually positioning a table of contents in blogdown: