hugo/tpl
Bjørn Erik Pedersen 71fd79a3f4 Revise the deprecation logging
This introduces a more automatic way of increasing the log levels for deprecation log statements based on the version it was deprecated.

The thresholds are a little arbitrary, but

* We log INFO for 6 releases
* We log WARN for another 6 releases
* THen ERROR (failing the build)

This should give theme authors plenty of time to catch up without having the log filled with warnings.
2023-10-26 20:41:19 +02:00
..
cast
collections Revise the deprecation logging 2023-10-26 20:41:19 +02:00
compare
crypto
css
data
debug tpl/debug: Add average and median to timer output 2023-10-21 15:41:21 +02:00
diagrams
encoding
fmt
hugo
images
inflect
internal Upgrade to Go 1.21.1 2023-09-21 21:38:41 +02:00
js
lang Revise the deprecation logging 2023-10-26 20:41:19 +02:00
math all: Format files with gofmt 2023-10-05 14:45:55 +02:00
openapi
os
page
partials
path
reflect
resources
safe
site
strings
templates
time
tplimpl hugolib: Deprecate .Site.DisqusShortname 2023-10-18 17:35:54 +02:00
transform
urls
template.go Add Page.RenderShortcodes 2023-08-03 20:00:57 +02:00
template_info.go
template_test.go