xiaoheiAh/hugo-theme-pure

Does not render HTML files from posts

kvasilopoulos opened this issue · 1 comments

Hi,
I am using R and .Rmd files with the blogdown package that generates the HTML format in the posts directory. But when I build in Hugo, then it builds only the .md files from the posts directory.

Is it something that needs to be adjusted in the config file or does this go beyond the theme's capabilities?

According to Run .Rmd posts on HUGO's Academic theme? - Stack Overflow,

hugo itself does not support .Rmd, .Rmd files have to be .html (or .md) in order to be understood and rendered by hugo.

If you use blogdown and run the command blogdown::serve_site() instead of usual cli hugo server this should be done automatically.