feat(layouts): deprecate overriding the header partials
Overriding site-header.html, page-header.html, or site-navigation.html
in a site project still works, but prints a deprecation notice. Sites
should use the header hooks and [params.ananke.header] instead. The
override support is removed in v3 (#1120).
The theme versions of these partials set a marker in the page store.
func/header/IncludeChecked.html includes a partial and prints the
notice if the marker is missing, so only sites that override a partial
see it. Hugo prints the notice once per build, and a site can suppress
it with ignoreLogs = ['ananke-deprecated-<partial>'].
func/debug-cli.html gets the `deprecated` severity: it always prints,
whatever the hook verbosity is, in the warning colour with the label
DEPR. With the new `id` parameter, messages are logged with warnidf or
erroridf, so they can be suppressed.
Every place that exists only for this deprecation has a comment in the
format `@deprecated 2.21.0 remove in 3.0.0: <task> (see #1120)`, so
`grep -rn "@deprecated" layouts` finds them all for v3.