mirror of https://github.com/crossplane/docs.git
Remove included pages from local search and search engines (#542)
This commit is contained in:
parent
1ddcf18157
commit
480b7e9232
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
tocHidden: true
|
||||
searchExclude: true
|
||||
---
|
||||
|
||||
## Install Crossplane
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
tocHidden: true
|
||||
searchExclude: true
|
||||
---
|
||||
|
||||
## Install Crossplane
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
{{ range where .Site.Pages "Section" "latest" }}
|
||||
{{ range where (where .Site.Pages "Section" "latest") ".Params.searchExclude" "ne" "true" }}
|
||||
<url>
|
||||
<loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }}
|
||||
<lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}
|
||||
|
|
Loading…
Reference in New Issue