hugo/tpl
Bjørn Erik Pedersen f9978ed164
Image resource refactor
This commit pulls most of the image related logic into its own package, to make it easier to reason about and extend.

This is also a rewrite of the transformation logic used in Hugo Pipes, mostly to allow constructs like the one below:

    {{ ($myimg | fingerprint ).Width }}

Fixes #5903
Fixes #6234
Fixes #6266
2019-08-26 15:00:44 +02:00
..
cast tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
collections tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
compare tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
crypto tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
data tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
encoding tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
fmt tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
hugo tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
images tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
inflect tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
internal tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
lang tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
math tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
os tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
partials tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
path tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
reflect tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
resources Image resource refactor 2019-08-26 15:00:44 +02:00
safe tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
site tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
strings tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
templates tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
time tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
tplimpl tpl: Use RegularPages for RSS template 2019-08-17 19:37:14 +02:00
transform tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
urls tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
template.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
template_info.go tpl: Allow the partial template func to return any type 2019-04-02 10:30:24 +02:00
template_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00