hugo/tpl
Cameron Moore 0004a733c8 tpl: Fix metrics hint tracking
When tracking for cache hints, track the same template name as the call
to MeasureSince in Execute.  When referencing a partial "foo", the value
of `n` does not match `templ.Name()` (`partials/foo` versus
`partials/foo.html`).  This was causing hints to go untracked since
there was no existing metric to append the hint to.

Fixes #8125
2021-01-08 20:01:11 +01:00
..
cast
collections all: Fix minor typos 2020-12-16 12:11:32 +01:00
compare all: Fix minor typos 2020-12-16 12:11:32 +01:00
crypto
data
debug
encoding
fmt
hugo
images
inflect
internal Improve LookPath 2020-12-19 17:03:07 +01:00
js
lang
math all: Fix minor typos 2020-12-16 12:11:32 +01:00
openapi/openapi3 Add Dart Sass support 2020-12-30 17:32:25 +01:00
os
partials tpl: Fix metrics hint tracking 2021-01-08 20:01:11 +01:00
path
reflect
resources Add Dart Sass support 2020-12-30 17:32:25 +01:00
safe
site
strings tpl: Do not return errors in substr for out-of-bounds cases 2021-01-08 10:13:10 +01:00
templates
time
tplimpl Add Dart Sass support 2020-12-30 17:32:25 +01:00
transform
urls all: Fix minor typos 2020-12-16 12:11:32 +01:00
template.go all: Fix minor typos 2020-12-16 12:11:32 +01:00
template_info.go
template_test.go