diff --git a/config.toml b/config.toml index 1cd22d938..d4a1e5994 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,5 @@ archetypedir = "archetypes" -baseurl = "/" +baseurl = "https://hugodocs.info" buildDrafts = false buildFuture = false canonifyurls = true @@ -72,7 +72,7 @@ watch = true defaultsocialimage = "hugodefaultsocial.png" ## Setting this to true will add a "noindex" to *every* page on the site removefromexternalsearch = false - ## This is used when the BaseURL does not need to modified (eg, in share links or in prerender, prefetch, etc to control for relativeURLs setting) + ## This is used when the BaseURL does not need to modified (eg, in share links or in prerender, prefetch, etc to control for relativeURLs setting); do not include trailing slash siteaddress = "https://hugodocs.info" ## Gh repo for site footer (include trailing slash) ghrepo = "https://github.com/spf13/hugo/" diff --git a/layouts/partials/head/metadata-schemaorg.html b/layouts/partials/head/metadata-schemaorg.html new file mode 100644 index 000000000..a93807c06 --- /dev/null +++ b/layouts/partials/head/metadata-schemaorg.html @@ -0,0 +1,22 @@ + diff --git a/layouts/partials/site-head.html b/layouts/partials/site-head.html index 4c243b5d6..7eef76c2e 100644 --- a/layouts/partials/site-head.html +++ b/layouts/partials/site-head.html @@ -5,6 +5,7 @@ {{- partial "head/metadata-standard.html" . -}} {{- partial "head/metadata-twitter.html" . -}} {{- partial "head/metadata-opengraph.html" . -}} +{{- partial "head/metadata-schemaorg.html" . -}} {{- partial "head/metadata-favicons.html" . -}} {{- partial "head/metadata-prefetch.html" . -}} {{- partial "head/metadata-rss.html" . -}}