hugo/tpl
Bjørn Erik Pedersen e625088ef5
Add render template hooks for links and images
This commit also

* revises the change detection for templates used by content files in server mode.
* Adds a Page.RenderString method

Fixes #6545
Fixes #4663
Closes #6043
2019-12-18 11:44:40 +01:00
..
cast Create lightweight forks of text/template and html/template 2019-12-12 09:59:34 +01:00
collections Rework template handling for function and map lookups 2019-12-12 10:04:35 +01:00
compare tpl: Remove eq argument limitation 2019-09-05 14:38:47 +02:00
crypto tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
data Prepare for Goldmark 2019-11-06 19:09:08 +01: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 Allow slices in the image Filter funcs, not just varargs 2019-09-04 17:24:50 +02:00
inflect tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
internal Add render template hooks for links and images 2019-12-18 11:44:40 +01: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 Add render template hooks for links and images 2019-12-18 11:44:40 +01: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 Rework template handling for function and map lookups 2019-12-12 10:04:35 +01:00
safe Create lightweight forks of text/template and html/template 2019-12-12 09:59:34 +01:00
site tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
strings Create lightweight forks of text/template and html/template 2019-12-12 09:59:34 +01: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 Add render template hooks for links and images 2019-12-18 11:44:40 +01:00
transform Create lightweight forks of text/template and html/template 2019-12-12 09:59:34 +01:00
urls Create lightweight forks of text/template and html/template 2019-12-12 09:59:34 +01:00
template.go Add render template hooks for links and images 2019-12-18 11:44:40 +01:00
template_info.go Add render template hooks for links and images 2019-12-18 11:44:40 +01:00
template_test.go Create lightweight forks of text/template and html/template 2019-12-12 09:59:34 +01:00