1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-03-27 05:42:10 +00:00
hugo/hugofs/files
Bjørn Erik Pedersen ffcb4aeb8e Fix handling of HTML files without front matter
This means that any HTML file inside /content will be treated as a regular file.

If you want it processes with shortcodes and a layout, add front matter.

The defintion of an HTML file here is:

* File with extension .htm or .html
* With first non-whitespace character "<" that isn't a HTML comment.

This is in line with the documentation.

Fixes 
Fixes 
See 
2020-03-09 15:01:55 +01:00
..
classifier.go Fix handling of HTML files without front matter 2020-03-09 15:01:55 +01:00
classifier_test.go Fix handling of HTML files without front matter 2020-03-09 15:01:55 +01:00