diff --git a/layouts/partials/stylesheet.html b/layouts/partials/stylesheet.html index dcd17c1851..b3f3bd7246 100644 --- a/layouts/partials/stylesheet.html +++ b/layouts/partials/stylesheet.html @@ -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" }}