hugo/parser/pageparser
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 #7030
Fixes #7028
See #6789
2020-03-09 15:01:55 +01:00
..
item.go Fix handling of HTML files without front matter 2020-03-09 15:01:55 +01:00
item_test.go
itemtype_string.go
pagelexer.go
pagelexer_intro.go Fix handling of HTML files without front matter 2020-03-09 15:01:55 +01:00
pagelexer_shortcode.go
pagelexer_test.go
pageparser.go
pageparser_intro_test.go Fix handling of HTML files without front matter 2020-03-09 15:01:55 +01:00
pageparser_main_test.go
pageparser_shortcode_test.go
pageparser_test.go