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 tpl/tplimpl: Rework template management to get rid of concurrency issues 2020-01-22 09:39:49 +01:00
shortcodes_test.go Add render template hooks for links and images 2019-12-18 11:44:40 +01:00
template.go Fix handling of HTML files without front matter 2020-03-09 15:01:55 +01:00
template_ast_transformers.go tpl/tplimpl: Rework template management to get rid of concurrency issues 2020-01-22 09:39:49 +01:00
template_ast_transformers_test.go tpl/tplimpl: Rework template management to get rid of concurrency issues 2020-01-22 09:39:49 +01:00
template_errors.go Fix baseof with regular define regression 2020-01-23 19:54:06 +01:00
template_funcs.go tpl: Put Go's internal template funcs in Hugo's map 2020-01-07 13:18:19 +01:00
template_funcs_test.go tpl/tplimpl: Rework template management to get rid of concurrency issues 2020-01-22 09:39:49 +01:00
template_info_test.go tpl/tplimpl: Rework template management to get rid of concurrency issues 2020-01-22 09:39:49 +01:00
template_test.go Fix base template handling with preceding comments 2020-01-30 23:44:42 +01:00
templateFuncster.go Rework template handling for function and map lookups 2019-12-12 10:04:35 +01:00
templateProvider.go tpl/tplimpl: Rework template management to get rid of concurrency issues 2020-01-22 09:39:49 +01:00