mirror of
https://github.com/dillonzq/LoveIt.git
synced 2025-04-17 19:11:57 +02:00
fix: fix seo bug
This commit is contained in:
parent
5cc4fdbe46
commit
280ec376f4
2 changed files with 4 additions and 1 deletions
layouts/partials
|
@ -1,5 +1,6 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="robots" content="noodp" />
|
||||
<meta name="Description" content="{{ .Params.description | default .Site.Params.description }}">
|
||||
{{ with .Site.Params.google_verification -}}
|
||||
<meta name="google-site-verification" content="{{ . }}" />
|
||||
{{ end -}}
|
||||
|
|
|
@ -161,4 +161,6 @@
|
|||
{{ $res := resources.Get "/js/blog.js" | resources.Minify }}
|
||||
<script src="{{ $res.RelPermalink }}"></script>
|
||||
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{ if not .Site.IsServer }}
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{ end }}
|
Loading…
Add table
Reference in a new issue