feat: Remove title processing
This commit is contained in:
parent
6b976e49b6
commit
de71ab28e3
|
@ -23,7 +23,7 @@
|
||||||
<meta name="twitter:url" content="{{ .Site.BaseURL }}" />
|
<meta name="twitter:url" content="{{ .Site.BaseURL }}" />
|
||||||
<meta name="twitter:image:src" content="{{ .Site.BaseURL}}{{ .Site.Params.SocialImage }}" />
|
<meta name="twitter:image:src" content="{{ .Site.BaseURL}}{{ .Site.Params.SocialImage }}" />
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<title>{{ plainify (.RenderString .Title) }} · {{ .Site.Title }}</title>
|
<title>{{ .Title }} · {{ .Site.Title }}</title>
|
||||||
<meta name="description" content="{{ .Description }}" />
|
<meta name="description" content="{{ .Description }}" />
|
||||||
{{ if .Params.tags }}
|
{{ if .Params.tags }}
|
||||||
<meta name="keywords" content="{{ range .Params.tags }}{{ . }},{{ end }}" />
|
<meta name="keywords" content="{{ range .Params.tags }}{{ . }},{{ end }}" />
|
||||||
|
@ -31,8 +31,8 @@
|
||||||
<meta name="keywords" content="{{ $.Site.Params.Keywords }}" />
|
<meta name="keywords" content="{{ $.Site.Params.Keywords }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<meta property="og:url" content="{{ .Permalink }}" />
|
<meta property="og:url" content="{{ .Permalink }}" />
|
||||||
<meta property="og:title" content="{{ plainify (.RenderString .Title) }} · {{ .Site.Title }}" />
|
<meta property="og:title" content="{{ .Title }} · {{ .Site.Title }}" />
|
||||||
<meta name="twitter:title" content="{{ plainify (.RenderString .Title) }} · {{ .Site.Title }}" />
|
<meta name="twitter:title" content="{{ .Title }} · {{ .Site.Title }}" />
|
||||||
{{ if .Description }}
|
{{ if .Description }}
|
||||||
<meta name="og:description" content="{{ .Description }}" />
|
<meta name="og:description" content="{{ .Description }}" />
|
||||||
<meta name="twitter:description" content="{{ .Description }}" />
|
<meta name="twitter:description" content="{{ .Description }}" />
|
||||||
|
|
Loading…
Reference in New Issue