diff --git a/hugo.yml b/hugo.yml index c3b566d1e8..9997589a2c 100644 --- a/hugo.yml +++ b/hugo.yml @@ -39,6 +39,9 @@ outputs: home: - HTML - OpenSearch + page: + - HTML + - OpenSearch publishDir: "_site" diff --git a/site/layouts/_default/list.opensearch.xml b/site/layouts/_default/list.opensearch.xml index 15258eb652..b41abeefc4 100644 --- a/site/layouts/_default/list.opensearch.xml +++ b/site/layouts/_default/list.opensearch.xml @@ -1,8 +1,8 @@ {{ .Site.Title }} - Search {{ .Site.Title }} documentation + Search {{ .Site.Title }} Documentation UTF-8 - {{ (printf "/docs/%s/assets/img/favicons/favicon.ico" .Site.Params.docs_version) | absURL }} - + {{ (urls.JoinPath "/docs" .Site.Params.docs_version "assets/img/favicons/favicon.ico") | absURL }} +