From: Alexandros Date: Thu, 8 Jun 2017 21:12:39 +0000 (+0300) Subject: Add noindex tag to HTML generated by Hugo Aliases X-Git-Tag: v0.22~8 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d5ab7f087d967b30e7de7d789e6ad3091b42f1f7;p=brevno-suite%2Fhugo Add noindex tag to HTML generated by Hugo Aliases So that Googlebot can stop keeping the old URLs in the SERPs. --- diff --git a/hugolib/alias.go b/hugolib/alias.go index 20be7c73..816ba962 100644 --- a/hugolib/alias.go +++ b/hugolib/alias.go @@ -30,8 +30,8 @@ import ( ) const ( - alias = "{{ .Permalink }}" - aliasXHtml = "{{ .Permalink }}" + alias = "{{ .Permalink }}" + aliasXHtml = "{{ .Permalink }}" ) var defaultAliasTemplates *template.Template