hugo/hugofs
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
..
files Fix handling of HTML files without front matter 2020-03-09 15:01:55 +01:00
glob Improve the server assets cache invalidation logic 2019-08-13 18:09:46 +02:00
createcounting_fs.go Make Page an interface 2019-03-23 18:51:22 +01:00
decorators.go Introduce a tree map for all content 2020-02-18 09:49:42 +01:00
fileinfo.go Introduce a tree map for all content 2020-02-18 09:49:42 +01:00
filter_fs.go Fix handling of HTML files without front matter 2020-03-09 15:01:55 +01:00
filter_fs_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
fs.go modules: Improve "hugo mod clean" 2020-02-19 17:14:35 +01:00
fs_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
glob.go Add resources.Match and resources.GetMatch 2019-08-13 11:44:20 +02:00
glob_test.go Add resources.Match and resources.GetMatch 2019-08-13 11:44:20 +02:00
hashing_fs.go Make Page an interface 2019-03-23 18:51:22 +01:00
hashing_fs_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
language_composite_fs.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
noop_fs.go
nosymlink_fs.go Block symlink dir traversal for /static 2019-07-25 11:27:25 +02:00
nosymlink_test.go Fix module mount in sub folder 2020-02-04 00:17:10 +01:00
rootmapping_fs.go Introduce a tree map for all content 2020-02-18 09:49:42 +01:00
rootmapping_fs_test.go hugofs: Fix mount with hole regression 2020-02-09 21:35:39 +01:00
slice_fs.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
stacktracer_fs.go Fix assorted typos 2019-08-01 13:55:48 +02:00
walk.go Fix module mount in sub folder 2020-02-04 00:17:10 +01:00
walk_test.go Fix module mount in sub folder 2020-02-04 00:17:10 +01:00