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 Support typed bool, int and float in shortcode params 2019-09-29 23:22:41 +02:00
itemtype_string.go Make Page an interface 2019-03-23 18:51:22 +01:00
pagelexer.go Support typed bool, int and float in shortcode params 2019-09-29 23:22:41 +02:00
pagelexer_intro.go Fix handling of HTML files without front matter 2020-03-09 15:01:55 +01:00
pagelexer_shortcode.go Add support for newline characters in raw string shortcode 2020-01-18 11:24:10 +01:00
pagelexer_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
pageparser.go Introduce a tree map for all content 2020-02-18 09:49:42 +01:00
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 Add support for newline characters in raw string shortcode 2020-01-18 11:24:10 +01:00
pageparser_test.go Introduce a tree map for all content 2020-02-18 09:49:42 +01:00