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