feat: Add title on homepage
This commit is contained in:
parent
de71ab28e3
commit
fabb09ed12
|
@ -11,14 +11,14 @@
|
|||
<meta name="twitter:site" content="{{ .Site.Params.TwitterUsername }}" />
|
||||
{{ end }}
|
||||
{{ if .IsHome }}
|
||||
<title>{{ .Site.Title }}</title>
|
||||
<title>{{ default .Site.Title .Title }}</title>
|
||||
<meta name="description" content="{{ $.Site.Params.description }}" />
|
||||
<meta name="keywords" content="{{ $.Site.Params.Keywords }}" />
|
||||
<meta property="og:image" content="{{ .Site.BaseURL}}{{ .Site.Params.SocialImage }}" />
|
||||
<meta property="og:url" content="{{ .Site.BaseURL }}" />
|
||||
<meta property="og:title" content="{{ .Site.Title }}" />
|
||||
<meta property="og:title" content="{{ default .Site.Title .Title }}" />
|
||||
<meta name="og:description" content="{{ $.Site.Params.description }}" />
|
||||
<meta name="twitter:title" content="{{ .Site.Title }}" />
|
||||
<meta name="twitter:title" content="{{ default .Site.Title .Title }}" />
|
||||
<meta name="twitter:description" content="{{ $.Site.Params.description }}" />
|
||||
<meta name="twitter:url" content="{{ .Site.BaseURL }}" />
|
||||
<meta name="twitter:image:src" content="{{ .Site.BaseURL}}{{ .Site.Params.SocialImage }}" />
|
||||
|
|
Loading…
Reference in New Issue