mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-26 01:12:10 +00:00
f28a8fa0c2
Provide unit test support RenderThing. One observation is that creating the site.Tmpl variable is a one time event. site.Tmpl doesn't like additional templates with the same name. This means that updating a template while in --watch mode requires throwing away the entire Site object and creating a new one. Not that this is a bad idea, but it is something I discovered while working on these unit tests. |
||
---|---|---|
.. | ||
benchmark_test.go | ||
config.go | ||
content_directory_test.go | ||
helpers.go | ||
index.go | ||
indexing_test.go | ||
node.go | ||
page.go | ||
page_index_test.go | ||
page_test.go | ||
page_time_integration_test.go | ||
path_seperators_test.go | ||
path_seperators_windows_test.go | ||
redis.cn.md | ||
shortcode.go | ||
site.go | ||
site_test.go |