diff options
author | Christian Oliff <christianoliff@yahoo.com> | 2018-05-17 20:51:11 +0900 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-08-07 09:42:49 +0200 |
commit | 06bd0136419ebd6727635716c7023494cc5a8257 (patch) | |
tree | 04f8fd5aba9a9b0ea9b41a80b1a9ce880f669aa7 | |
parent | 755d1ffe7a22d8ad83485240ff78cf25d501602f (diff) |
Update alias.go
less markup :-)
-rw-r--r-- | hugolib/alias.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/alias.go b/hugolib/alias.go index b2b296143..73d8acafc 100644 --- a/hugolib/alias.go +++ b/hugolib/alias.go @@ -32,7 +32,7 @@ import ( ) const ( - alias = "<!DOCTYPE html><html><head><title>{{ .Permalink }}</title><link rel=\"canonical\" href=\"{{ .Permalink }}\"/><meta name=\"robots\" content=\"noindex\"><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" /><meta http-equiv=\"refresh\" content=\"0; url={{ .Permalink }}\" /></head></html>" + alias = "<!DOCTYPE html><html><head><title>{{ .Permalink }}</title><link rel=\"canonical\" href=\"{{ .Permalink }}\"/><meta name=\"robots\" content=\"noindex\"><meta charset=\"utf-8\" /><meta http-equiv=\"refresh\" content=\"0; url={{ .Permalink }}\" /></head></html>" aliasXHtml = "<!DOCTYPE html><html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>{{ .Permalink }}</title><link rel=\"canonical\" href=\"{{ .Permalink }}\"/><meta name=\"robots\" content=\"noindex\"><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" /><meta http-equiv=\"refresh\" content=\"0; url={{ .Permalink }}\" /></head></html>" ) |