fix: fix seo bug
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="robots" content="noodp" />
|
<meta name="robots" content="noodp" />
|
||||||
|
<meta name="Description" content="{{ .Params.description | default .Site.Params.description }}">
|
||||||
{{ with .Site.Params.google_verification -}}
|
{{ with .Site.Params.google_verification -}}
|
||||||
<meta name="google-site-verification" content="{{ . }}" />
|
<meta name="google-site-verification" content="{{ . }}" />
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|||||||
@@ -161,4 +161,6 @@
|
|||||||
{{ $res := resources.Get "/js/blog.js" | resources.Minify }}
|
{{ $res := resources.Get "/js/blog.js" | resources.Minify }}
|
||||||
<script src="{{ $res.RelPermalink }}"></script>
|
<script src="{{ $res.RelPermalink }}"></script>
|
||||||
|
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ if not .Site.IsServer }}
|
||||||
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
|
{{ end }}
|
||||||
Reference in New Issue
Block a user