hugo/tpl
Cameron Moore 08c0de5cc3 tpl/data: Clean up data namespace
- Move the main GetCSV and GetJSON into data.go.
- Add error returns to GetCSV and GetJSON.
- Add http client to Namespace for test mocking.
- Send accept headers on remote requests. Fixes #3395
- Return an error on non-2XX HTTP response codes and don't retry.
- Move cache tests to cache_test.go.
2017-05-02 09:18:41 +02:00
..
cast tpl: Add basic tests for all namespace init funcs 2017-05-02 00:07:33 +02:00
collections tpl: Add basic tests for all namespace init funcs 2017-05-02 00:07:33 +02:00
compare tpl: Add basic tests for all namespace init funcs 2017-05-02 00:07:33 +02:00
crypto tpl: Add basic tests for all namespace init funcs 2017-05-02 00:07:33 +02:00
data tpl/data: Clean up data namespace 2017-05-02 09:18:41 +02:00
encoding tpl: Add basic tests for all namespace init funcs 2017-05-02 00:07:33 +02:00
fmt tpl: Add basic tests for all namespace init funcs 2017-05-02 00:07:33 +02:00
images tpl/images: Fix embedded sync.Mutex 2017-05-02 09:17:14 +02:00
inflect tpl: Add basic tests for all namespace init funcs 2017-05-02 00:07:33 +02:00
internal tpl: Add docshelper for template funcs 2017-05-01 21:44:15 +02:00
lang tpl: Add basic tests for all namespace init funcs 2017-05-02 00:07:33 +02:00
math tpl: Add basic tests for all namespace init funcs 2017-05-02 00:07:33 +02:00
os tpl: Add basic tests for all namespace init funcs 2017-05-02 00:07:33 +02:00
partials tpl: Add basic tests for all namespace init funcs 2017-05-02 00:07:33 +02:00
safe tpl: Add basic tests for all namespace init funcs 2017-05-02 00:07:33 +02:00
strings tpl: Add basic tests for all namespace init funcs 2017-05-02 00:07:33 +02:00
time tpl: Add basic tests for all namespace init funcs 2017-05-02 00:07:33 +02:00
tplimpl tpl: Add docshelper for template funcs 2017-05-01 21:44:15 +02:00
transform tpl: Add basic tests for all namespace init funcs 2017-05-02 00:07:33 +02:00
urls tpl: Add basic tests for all namespace init funcs 2017-05-02 00:07:33 +02:00
template.go tpl/collections: Make it a package that stands on its own 2017-05-01 15:13:41 +02:00