mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 18:34:53 +00:00
b14b61af37
Introducing the target module in hugo. This provides the simple interface for writing content given a label (filename) and a io.Reader containing the content to be written. If site.Target is not set, it defaults back to the original behavior of writing to file system. In hugolib/site_url_test.go I have an InMemoryTarget for testing purposes and use it to see if the final output of a render matches. |
||
---|---|---|
.. | ||
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 | ||
site_url_test.go |