xiaoheiAh / hugo-theme-pure

A pure theme for Hugo
https://themes.gohugo.io/theme/hugo-theme-pure/
MIT License
267 stars 128 forks source link

Does not render HTML files from posts #91

Open kvasilopoulos opened 4 years ago

kvasilopoulos commented 4 years ago

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?

1024th commented 3 years ago

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.