mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
Rename seo-tags/description.html partial to seo-description.html
This commit is contained in:
parent
2a40664bb6
commit
637ffc12f5
@ -40,7 +40,7 @@
|
|||||||
{{ partial "seo-tags/author.html" . }}
|
{{ partial "seo-tags/author.html" . }}
|
||||||
|
|
||||||
<meta name="language" content="{{ .Language.Lang }}">
|
<meta name="language" content="{{ .Language.Lang }}">
|
||||||
<meta name="description" content="{{ (partial "seo-tags/description.html" .) | plainify }}">
|
<meta name="description" content="{{ (partial "seo-description.html" .) | plainify }}">
|
||||||
|
|
||||||
{{ partial "additional-head.html" . }}
|
{{ partial "additional-head.html" . }}
|
||||||
</head>
|
</head>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<meta property="og:title" content="{{ .Title | plainify }}">
|
<meta property="og:title" content="{{ .Title | plainify }}">
|
||||||
<meta property="og:description" content="{{ (partial "seo-tags/description.html" .) | plainify }}">
|
<meta property="og:description" content="{{ (partial "seo-description.html" .) | plainify }}">
|
||||||
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}">
|
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}">
|
||||||
<meta property="og:url" content="{{ .Permalink }}">
|
<meta property="og:url" content="{{ .Permalink }}">
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<meta itemprop="name" content="{{ .Title | plainify }}">
|
<meta itemprop="name" content="{{ .Title | plainify }}">
|
||||||
<meta itemprop="description" content="{{ (partial "seo-tags/description.html" .) | plainify }}">
|
<meta itemprop="description" content="{{ (partial "seo-description.html" .) | plainify }}">
|
||||||
|
|
||||||
{{ $format := "2006-01-02T15:04:05-07:00" }}
|
{{ $format := "2006-01-02T15:04:05-07:00" }}
|
||||||
{{ with .Date }}
|
{{ with .Date }}
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<meta name="twitter:title" content="{{ .Title | plainify }}">
|
<meta name="twitter:title" content="{{ .Title | plainify }}">
|
||||||
<meta name="twitter:description" content="{{ (partial "seo-tags/description.html" .) | plainify }}">
|
<meta name="twitter:description" content="{{ (partial "seo-description.html" .) | plainify }}">
|
||||||
|
|
||||||
{{ with .Site.Social.twitter }}
|
{{ with .Site.Social.twitter }}
|
||||||
<meta name="twitter:site" content="@{{ . }}">
|
<meta name="twitter:site" content="@{{ . }}">
|
||||||
|
Loading…
Reference in New Issue
Block a user