diff --git a/templates/data/docs/mongodb/iaas/document.html b/templates/data/docs/mongodb/iaas/document.html index edc3d0086..46b1765a8 100644 --- a/templates/data/docs/mongodb/iaas/document.html +++ b/templates/data/docs/mongodb/iaas/document.html @@ -1,8 +1,8 @@ {% with document=document, nav_items=nav_items, - search_action="/data/docs/mongodb/iaas/search", - siteSearch="/data/docs/mongodb/iaas", + search_action="https://canonical.com/data/docs/mongodb/iaas/search", + siteSearch="https://canonical.com/data/docs/mongodb/iaas", placeholder="Search Charmed MongoDB on IaaS docs", navigation=navigation, disable_title=true diff --git a/templates/data/docs/mongodb/iaas/search-results.html b/templates/data/docs/mongodb/iaas/search-results.html index 7b348a914..fe2dd5751 100644 --- a/templates/data/docs/mongodb/iaas/search-results.html +++ b/templates/data/docs/mongodb/iaas/search-results.html @@ -2,10 +2,10 @@ title="Charmed MongoDB on IaaS Docs", query=query, results=results, - search_action="/data/docs/mongodb/iaas/search", - siteSearch="/data/docs/mongodb/iaas", + search_action="https://canonical.com/data/docs/mongodb/iaas/search", + siteSearch="https://canonical.com/data/docs/mongodb/iaas", placeholder="Search Charmed MongoDB on IaaS Docs", - search_path="/data/docs/mongodb/iaas/search", + search_path="https://canonical.com/data/docs/mongodb/iaas/search", forum_link="https://discourse.charmhub.io/c/charm/41" %} {% include "docs/shared/_search-results.html" %} diff --git a/templates/data/docs/mongodb/k8s/document.html b/templates/data/docs/mongodb/k8s/document.html index 9d9c7025d..0def095fc 100644 --- a/templates/data/docs/mongodb/k8s/document.html +++ b/templates/data/docs/mongodb/k8s/document.html @@ -1,8 +1,8 @@ {% with document=document, nav_items=nav_items, - search_action="/data/docs/mongodb/k8s/search", - siteSearch="/data/docs/mongodb/k8s", + search_action="https://canonical.com/data/docs/mongodb/k8s/search", + siteSearch="https://canonical.com/data/docs/mongodb/k8s", placeholder="Search Charmed MongoDB on Kubernetes docs", navigation=navigation, disable_title=true diff --git a/templates/data/docs/mongodb/k8s/search-results.html b/templates/data/docs/mongodb/k8s/search-results.html index 086abf7ca..b898fceb5 100644 --- a/templates/data/docs/mongodb/k8s/search-results.html +++ b/templates/data/docs/mongodb/k8s/search-results.html @@ -2,10 +2,10 @@ title="Charmed MongoDB on Kubernetes Docs", query=query, results=results, - search_action="/data/docs/mongodb/k8s/search", - siteSearch="/data/docs/mongodb/k8s", + search_action="https://canonical.com/data/docs/mongodb/k8s/search", + siteSearch="https://canonical.com/data/docs/mongodb/k8s", placeholder="Search Charmed MongoDB on Kubernetes Docs", - search_path="/data/docs/mongodb/k8s/search", + search_path="https://canonical.com/data/docs/mongodb/k8s/search", forum_link="https://discourse.charmhub.io/c/charm/41" %} {% include "docs/shared/_search-results.html" %} diff --git a/templates/data/docs/mysql/iaas/document.html b/templates/data/docs/mysql/iaas/document.html index 9ea08dd4f..542bfc461 100644 --- a/templates/data/docs/mysql/iaas/document.html +++ b/templates/data/docs/mysql/iaas/document.html @@ -1,8 +1,8 @@ {% with document=document, nav_items=nav_items, - search_action="/data/docs/mysql/iaas/search", - siteSearch="/data/docs/mysql/iaas", + search_action="https://canonical.com/data/docs/mysql/iaas/search", + siteSearch="https://canonical.com/data/docs/mysql/iaas", placeholder="Search Charmed MySQL on IaaS docs", navigation=navigation, disable_title=true diff --git a/templates/data/docs/mysql/iaas/search-results.html b/templates/data/docs/mysql/iaas/search-results.html index fc7e1372a..79d8189c2 100644 --- a/templates/data/docs/mysql/iaas/search-results.html +++ b/templates/data/docs/mysql/iaas/search-results.html @@ -2,8 +2,8 @@ title="Charmed MySQL on IaaS Docs", query=query, results=results, - search_action="/data/docs/mysql/iaas/search", - siteSearch="/data/docs/mysql/iaas", + search_action="https://canonical.com/data/docs/mysql/iaas/search", + siteSearch="https://canonical.com/data/docs/mysql/iaas", placeholder="Search Charmed MySQL on IaaS Docs", search_path="/data/docs/mysql/iaas/search", forum_link="https://discourse.charmhub.io/c/charm/41" diff --git a/templates/data/docs/mysql/k8s/document.html b/templates/data/docs/mysql/k8s/document.html index fd2e9ea54..375711afb 100644 --- a/templates/data/docs/mysql/k8s/document.html +++ b/templates/data/docs/mysql/k8s/document.html @@ -1,8 +1,8 @@ {% with document=document, nav_items=nav_items, - search_action="/data/docs/mysql/k8s/search", - siteSearch="/data/docs/mysql/k8s", + search_action="https://canonical.com/data/docs/mysql/k8s/search", + siteSearch="https://canonical.com/data/docs/mysql/k8s", placeholder="Search Charmed MySQL on Kubernetes docs", navigation=navigation, disable_title=true diff --git a/templates/data/docs/mysql/k8s/search-results.html b/templates/data/docs/mysql/k8s/search-results.html index bdc676907..8fc89e594 100644 --- a/templates/data/docs/mysql/k8s/search-results.html +++ b/templates/data/docs/mysql/k8s/search-results.html @@ -3,7 +3,7 @@ query=query, results=results, search_action="/data/docs/mysql/k8s/search", - siteSearch="/data/docs/mysql/k8s", + siteSearch="https://canonical.com/data/docs/mysql/k8s", placeholder="Search Charmed MySQL on Kubernetes Docs", search_path="/data/docs/mysql/k8s/search", forum_link="https://discourse.charmhub.io/c/charm/41" diff --git a/templates/data/docs/opensearch/iaas/document.html b/templates/data/docs/opensearch/iaas/document.html index 9dc0ff7dc..d1606f537 100644 --- a/templates/data/docs/opensearch/iaas/document.html +++ b/templates/data/docs/opensearch/iaas/document.html @@ -1,8 +1,8 @@ {% with document=document, nav_items=nav_items, - search_action="/data/docs/opensearch/iaas/search", - siteSearch="/data/docs/opensearch/iaas", + search_action="https://canonical.com/data/docs/opensearch/iaas/search", + siteSearch="https://canonical.com/data/docs/opensearch/iaas", placeholder="Search Charmed OpenSearch on IaaS docs", navigation=navigation, disable_title=true diff --git a/templates/data/docs/opensearch/iaas/search-results.html b/templates/data/docs/opensearch/iaas/search-results.html index e1cb17e75..c08ec0944 100644 --- a/templates/data/docs/opensearch/iaas/search-results.html +++ b/templates/data/docs/opensearch/iaas/search-results.html @@ -2,10 +2,10 @@ title="Charmed OpenSearch on IaaS Docs", query=query, results=results, - search_action="/data/docs/opensearch/iaas/search", - siteSearch="/data/docs/opensearch/iaas", + search_action="https://canonical.com/data/docs/opensearch/iaas/search", + siteSearch="https://canonical.com/data/docs/opensearch/iaas", placeholder="Search Charmed OpenSearch on IaaS Docs", - search_path="/data/docs/opensearch/iaas/search", + search_path="https://canonical.com/data/docs/opensearch/iaas/search", forum_link="https://discourse.charmhub.io/c/charm/41" %} {% include "docs/shared/_search-results.html" %} diff --git a/templates/data/docs/postgresql/iaas/document.html b/templates/data/docs/postgresql/iaas/document.html index 397d0ff97..f8e2e305e 100644 --- a/templates/data/docs/postgresql/iaas/document.html +++ b/templates/data/docs/postgresql/iaas/document.html @@ -1,8 +1,8 @@ {% with document=document, nav_items=nav_items, - search_action="/data/docs/postgresql/iaas/search", - siteSearch="/data/docs/postgresql/iaas", + search_action="https://canonical.com/data/docs/postgresql/iaas/search", + siteSearch="https://canonical.com/data/docs/postgresql/iaas", placeholder="Search Charmed PostgreSQL on IaaS docs", navigation=navigation, disable_title=true diff --git a/templates/data/docs/postgresql/iaas/search-results.html b/templates/data/docs/postgresql/iaas/search-results.html index 2dc0bb16b..045f22552 100644 --- a/templates/data/docs/postgresql/iaas/search-results.html +++ b/templates/data/docs/postgresql/iaas/search-results.html @@ -2,10 +2,10 @@ title="Charmed PostgreSQL on IaaS Docs", query=query, results=results, - search_action="/data/docs/postgresql/iaas/search", - siteSearch="/data/docs/postgresql/iaas", + search_action="https://canonical.com/data/docs/postgresql/iaas/search", + siteSearch="https://canonical.com/data/docs/postgresql/iaas", placeholder="Search Charmed PostgreSQL on IaaS Docs", - search_path="/data/docs/postgresql/iaas/search", + search_path="https://canonical.com/data/docs/postgresql/iaas/search", forum_link="https://discourse.charmhub.io/c/charm/41" %} {% include "docs/shared/_search-results.html" %} diff --git a/templates/data/docs/postgresql/k8s/document.html b/templates/data/docs/postgresql/k8s/document.html index f95870d36..fddc9647c 100644 --- a/templates/data/docs/postgresql/k8s/document.html +++ b/templates/data/docs/postgresql/k8s/document.html @@ -1,8 +1,8 @@ {% with document=document, nav_items=nav_items, - search_action="/data/docs/postgresql/k8s/search", - siteSearch="/data/docs/postgresql/k8s", + search_action="https://canonical.com/data/docs/postgresql/k8s/search", + siteSearch="https://canonical.com/data/docs/postgresql/k8s", placeholder="Search Charmed PostgreSQL on Kubernetes docs", navigation=navigation, disable_title=true diff --git a/templates/data/docs/postgresql/k8s/search-results.html b/templates/data/docs/postgresql/k8s/search-results.html index 564efb889..528f85371 100644 --- a/templates/data/docs/postgresql/k8s/search-results.html +++ b/templates/data/docs/postgresql/k8s/search-results.html @@ -2,10 +2,10 @@ title="Charmed PostgreSQL on K8s Docs", query=query, results=results, - search_action="/data/docs/postgresql/k8s/search", - siteSearch="/data/docs/postgresql/k8s", + search_action="https://canonical.com/data/docs/postgresql/k8s/search", + siteSearch="https://canonical.com/data/docs/postgresql/k8s", placeholder="Search Charmed PostgreSQL on K8s Docs", - search_path="/data/docs/spark/search", + search_path="https://canonical.com/data/docs/spark/search", forum_link="https://discourse.charmhub.io/c/charm/41" %} {% include "docs/shared/_search-results.html" %} diff --git a/templates/data/docs/spark/k8s/document.html b/templates/data/docs/spark/k8s/document.html index 2ea08ef78..e018e4dd4 100644 --- a/templates/data/docs/spark/k8s/document.html +++ b/templates/data/docs/spark/k8s/document.html @@ -1,8 +1,8 @@ {% with document=document, nav_items=nav_items, - search_action="/data/docs/spark/k8s/search", - siteSearch="/data/docs/spark-k8s", + search_action="https://canonical.com/data/docs/spark/k8s/search", + siteSearch="https://canonical.com/data/docs/spark/k8s", placeholder="Search Charmed Spark docs", navigation=navigation, disable_title=true diff --git a/templates/data/docs/spark/k8s/search-results.html b/templates/data/docs/spark/k8s/search-results.html index 4611f87cc..160d0fd4a 100644 --- a/templates/data/docs/spark/k8s/search-results.html +++ b/templates/data/docs/spark/k8s/search-results.html @@ -2,10 +2,10 @@ title="Charmed Spark on K8s Docs", query=query, results=results, - search_action="/data/docs/spark/k8s/search", - siteSearch="/data/docs/spark-k8s", + search_action="https://canonical.com/data/docs/spark/k8s/search", + siteSearch="https://canonical.com/data/docs/spark", placeholder="Search Charmed Spark on K8s Docs", - search_path="/data/docs/spark/k8s/search", + search_path="https://canonical.com/data/docs/spark/k8s/search", forum_link="https://discourse.charmhub.io/c/charm/41" %} {% include "docs/shared/_search-results.html" %} diff --git a/templates/data/sitemap.xml b/templates/data/sitemap.xml new file mode 100644 index 000000000..39b60231e --- /dev/null +++ b/templates/data/sitemap.xml @@ -0,0 +1,27 @@ + + + + https://canonical.com/data + monthly + + + https://canonical.com/data/spark + monthly + + + https://canonical.com/data/mongodb + weekly + + + https://canonical.com/data/kafka + monthly + + + https://canonical.com/data/opensearch + monthly + + + https://canonical.com/data/docs + monthly + + diff --git a/templates/sitemap-links.xml b/templates/sitemap-links.xml index 3690c22c0..4e03a1d5e 100644 --- a/templates/sitemap-links.xml +++ b/templates/sitemap-links.xml @@ -24,4 +24,8 @@ https://canonical.com/press-centre monthly + + https://canonical.com/data + monthly + \ No newline at end of file