From d5ab7f087d967b30e7de7d789e6ad3091b42f1f7 Mon Sep 17 00:00:00 2001 From: Alexandros Date: Fri, 9 Jun 2017 00:12:39 +0300 Subject: [PATCH] Add noindex tag to HTML generated by Hugo Aliases So that Googlebot can stop keeping the old URLs in the SERPs. --- hugolib/alias.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hugolib/alias.go b/hugolib/alias.go index 20be7c732..816ba962b 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