Use post description in meta seo
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{{- $description := .Description | default .Summary | default .Site.Params.description | default .Site.Title -}}
|
||||
{{- $description := .Description | default .Params.description | default .Summary | default .Site.Params.description | default .Site.Title -}}
|
||||
{{- $keywords := delimit (.Keywords | default .Site.Params.keywords | default (slice)) ", " -}}
|
||||
{{- $author := .Params.author | default .Site.Params.author | default .Site.Title -}}
|
||||
{{- $robots := .Params.robots | default "index, follow" -}}
|
||||
@@ -37,4 +37,4 @@
|
||||
<meta name="DC.Title" content="{{ .Title | default .Site.Title }}">
|
||||
<meta name="DC.Creator" content="{{ $author }}">
|
||||
<meta name="DC.Description" content="{{ $description }}">
|
||||
<meta name="DC.Language" content="{{ .Site.Language.Lang | default "en" }}">
|
||||
<meta name="DC.Language" content="{{ .Site.Language.Lang | default "en" }}">
|
||||
|
||||
Reference in New Issue
Block a user