mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 19:00:24 +00:00
theme: fix link in deprecation warning #565
This commit is contained in:
parent
11c39da8e3
commit
4883af03d4
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@
|
|||
{{ "// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:" | safeJS }}
|
||||
{{ "// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72" | safeJS }}
|
||||
{{- with .Site.Home.OutputFormats.Get "JSON" }}
|
||||
{{- warnf "%q: DEPRECATED usage of 'JSON' output format found, use 'SEARCH' instead; see http://localhost:1313/basics/configuration/#activate-search" $page.File.Path }}
|
||||
{{- warnf "%q: DEPRECATED usage of 'JSON' output format found, use 'SEARCH' instead; see https://mcshelby.github.io/hugo-theme-relearn/basics/configuration/#activate-search" $page.File.Path }}
|
||||
window.index_json_url={{ "index.json" | relLangURL }};
|
||||
{{- end }}
|
||||
{{- with .Site.Home.OutputFormats.Get "SEARCH" }}
|
||||
|
|
Loading…
Reference in a new issue