diff --git a/public/categories/index.xml b/public/categories/index.xml new file mode 100644 index 00000000..1edd3cb5 --- /dev/null +++ b/public/categories/index.xml @@ -0,0 +1,9 @@ + + + + Categories on + /categories/ + Recent content in Categories on + Hugo -- gohugo.io + + diff --git a/public/index.xml b/public/index.xml new file mode 100644 index 00000000..e61b979e --- /dev/null +++ b/public/index.xml @@ -0,0 +1,9 @@ + + + + + / + Recent content on + Hugo -- gohugo.io + + diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 00000000..cd5ab70f --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,11 @@ + + + + / + + /categories/ + + /tags/ + + diff --git a/public/tags/index.xml b/public/tags/index.xml new file mode 100644 index 00000000..1c4e357b --- /dev/null +++ b/public/tags/index.xml @@ -0,0 +1,9 @@ + + + + Tags on + /tags/ + Recent content in Tags on + Hugo -- gohugo.io + + diff --git a/site/netlify.toml b/site/netlify.toml index 3118ada5..8e45c395 100644 --- a/site/netlify.toml +++ b/site/netlify.toml @@ -37,7 +37,8 @@ HUGO_ENABLEGITINFO = "true" [[headers]] for = "/*" [headers.values] - Content-Security-Policy = "default-src 'self'; img-src *" + # disabled to support docsearch until https://github.com/algolia/instantsearch.js/issues/2868 is fixed. + # Content-Security-Policy = "default-src 'self'; img-src *" X-Content-Type-Options = "nosniff" X-Frame-Options = "DENY" X-XSS-Protection = "1; mode=block" \ No newline at end of file diff --git a/site/themes/pinniped/layouts/_default/baseof.html b/site/themes/pinniped/layouts/_default/baseof.html index 2977d22e..e9a0e599 100644 --- a/site/themes/pinniped/layouts/_default/baseof.html +++ b/site/themes/pinniped/layouts/_default/baseof.html @@ -15,10 +15,19 @@ {{ with .OutputFormats.Get "RSS" -}} {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} {{- end }} + {{ partial "header" . }} {{ block "main" . }}{{ end }} {{ partial "footer" . }} + + diff --git a/site/themes/pinniped/layouts/partials/docs-sidebar.html b/site/themes/pinniped/layouts/partials/docs-sidebar.html index cdd79d4b..00d68b75 100644 --- a/site/themes/pinniped/layouts/partials/docs-sidebar.html +++ b/site/themes/pinniped/layouts/partials/docs-sidebar.html @@ -1,4 +1,12 @@
+
+ + + +