Update head.html
Improve Styling
This commit is contained in:
parent
a776f83fc1
commit
d56680f496
1 changed files with 18 additions and 17 deletions
|
@ -1,10 +1,8 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<meta name="author"
|
<meta name="author" content="{{ if .Params.author }}{{ .Params.author }}{{ else }}{{ range .Site.Author }}{{ . }} {{ end }}{{ end }}">
|
||||||
content="{{ if .Params.author }}{{ .Params.author }}{{ else }}{{ range .Site.Author }}{{ . }} {{ end }}{{ end }}">
|
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.homeSubtitle }}{{ else }}{{ .Summary | plainify }}{{ end }}" />
|
||||||
<meta name="description"
|
|
||||||
content="{{ if .IsHome }}{{ .Site.Params.homeSubtitle }}{{ else }}{{ .Summary | plainify }}{{ end }}" />
|
|
||||||
<meta name="keywords" content="{{ .Site.Params.keywords }}" />
|
<meta name="keywords" content="{{ .Site.Params.keywords }}" />
|
||||||
<meta name="robots" content="noodp" />
|
<meta name="robots" content="noodp" />
|
||||||
<meta name="theme-color" content="{{ .Site.Params.themeColor }}" />
|
<meta name="theme-color" content="{{ .Site.Params.themeColor }}" />
|
||||||
|
@ -41,9 +39,12 @@
|
||||||
{{- template "_internal/twitter_cards.html" . }}
|
{{- template "_internal/twitter_cards.html" . }}
|
||||||
|
|
||||||
{{ range .Params.categories }}
|
{{ range .Params.categories }}
|
||||||
<meta property="article:section" content="{{ . }}" />{{ end }}
|
<meta property="article:section" content="{{ . }}" />
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ if isset .Params "date" }}
|
{{ if isset .Params "date" }}
|
||||||
<meta property="article:published_time" content="{{ time .Date }}" />{{ end }}
|
<meta property="article:published_time" content="{{ time .Date }}" />
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<!-- RSS -->
|
<!-- RSS -->
|
||||||
{{ with .OutputFormats.Get "rss" -}}
|
{{ with .OutputFormats.Get "rss" -}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue