hugo/tpl/tplimpl
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
..
embedded tpl: Adjust the RSS taxonomy logic 2020-02-18 17:29:46 +01:00
shortcodes.go
shortcodes_test.go
template.go Fix handling of HTML files without front matter 2020-03-09 15:01:55 +01:00
template_ast_transformers.go
template_ast_transformers_test.go
template_errors.go
template_funcs.go
template_funcs_test.go
template_info_test.go
template_test.go Fix base template handling with preceding comments 2020-01-30 23:44:42 +01:00
templateFuncster.go
templateProvider.go