hugo/tpl
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
..
cast
collections Support unComparable args of uniq/complement/in 2020-03-09 13:32:38 +01:00
compare Introduce a tree map for all content 2020-02-18 09:49:42 +01:00
crypto
data tpl: Fix error with unicode in file paths 2020-03-09 13:31:04 +01:00
encoding
fmt
hugo
images
inflect
internal
lang
math tpl: Add math.Sqrt 2020-02-24 23:45:04 +01:00
os
partials
path
reflect
resources tpl: Change error message on missing resource 2020-03-02 18:46:14 +01:00
safe
site
strings
templates
time
tplimpl Fix handling of HTML files without front matter 2020-03-09 15:01:55 +01:00
transform Introduce a tree map for all content 2020-02-18 09:49:42 +01:00
urls
template.go Fix handling of HTML files without front matter 2020-03-09 15:01:55 +01:00
template_info.go
template_test.go