diff options
author | amzrk2 | 2020-06-16 15:42:19 +0800 |
---|---|---|
committer | amzrk2 | 2020-06-16 15:42:19 +0800 |
commit | 03750a600a71df1276ccfcc7c817de5cb86e3e9f (patch) | |
tree | 2f957408bb3cabfbfa36166820d5193a39b46c6e /layouts/partials/head.html | |
parent | f44c0d05b1a5308afce8c61e9aef7658b72b42ed (diff) | |
download | hugo-theme-fuji-03750a600a71df1276ccfcc7c817de5cb86e3e9f.tar.gz hugo-theme-fuji-03750a600a71df1276ccfcc7c817de5cb86e3e9f.tar.bz2 hugo-theme-fuji-03750a600a71df1276ccfcc7c817de5cb86e3e9f.zip |
Fix meta text align in archives and search page
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 88f398f..88d3d19 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -9,7 +9,6 @@ <!-- favicon --> {{ partial "favicon.html" . }} - <!-- seo metadata --> {{ if and (.IsHome) (.Site.Params.subTitle) }} <title>{{ .Site.Title }} - {{ .Site.Params.subTitle }}</title> @@ -22,16 +21,13 @@ <meta name="author" content="{{ if .Params.author }}{{ .Params.author }}{{ else }}{{ .Site.Params.author }}{{ end }}" /> {{ end }} {{ if or (.Params.description) (.Site.Params.description) }} -<meta name="description" - content="{{ if .Params.description }}{{ .Params.description }}{{ else }}{{ .Site.Params.description }}{{ end }}" /> +<meta name="description" content="{{ if .Params.description }}{{ .Params.description }}{{ else }}{{ .Site.Params.description }}{{ end }}" /> {{ end }} {{ if .Params.tags }} <meta name="keywords" content="{{ delimit .Params.tags ", " }}" /> {{ end }} - {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }} - <!-- dep --> {{ if .Site.Params.useHugoPipes }} {{ $options := (dict "targetPath" "assets/css/fuji-custom.min.css" "outputStyle" "compressed") }} @@ -40,17 +36,14 @@ {{ else }} <link rel="stylesheet" href="{{ "/assets/css/fuji.min.css" | relURL }}" /> {{ end }} - {{ with .Site.Params.googleAdsense }} <script async data-ad-client="ca-pub-{{ . }}" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> {{ end}} - {{ if .Params.player }} <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer@1.10.1/dist/APlayer.min.css" /> {{ end }} {{ if .Site.Params.useDisqusJS }} <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/disqusjs@1.3/dist/disqusjs.css" /> {{ end }} - {{ partial "analytic-gtag.html" . }} {{ partial "analytic-cfga.html" . }}
\ No newline at end of file |