diff --git a/themes/nluug/layouts/robots.txt b/themes/nluug/layouts/robots.txt index db9ed43..847fc04 100644 --- a/themes/nluug/layouts/robots.txt +++ b/themes/nluug/layouts/robots.txt @@ -1,2 +1,5 @@ User-agent: * +{{ range where .Site.Pages "Params.noindex" true -}} +Disallow: {{ .Permalink }} +{{- end }} Sitemap: {{ absURL site.Home.Sitemap.Filename }}