Thanks. That fixes this error. So essentially, it is now recommended to use the file extension in partial calls?
Also, I was glad to see the use of “.html” in calls consistently everywhere in the examples on Partial templates | Hugo
I will fix it so we don’t break existing templates, but yes, when you start getting more content output formats, it will soon start to make sense to include the suffix – that has always worked, btw., so it is backwards compatible.
ERROR 2017/04/11 11:52:41 Error while rendering “404”: template: /hugo-blog/themes/mytheme/layouts/404.html:18:48: executing “/hugo-blog/themes/mytheme/layouts/404.html” at <partial “styles.css”…>: error calling partial: Partial “styles.css” not found
If i rename the styles.css file into styles.html (filesystem with same location + partial included with “styles.html”), then everything works fine again !
The above is as designed, but I didn’t expect it to break existing sites. It is described here, and we will probably lift this restriction for Hugo 0.21: