use .Param for authorTwitter field
This commit is contained in:
parent
40f42481d9
commit
9d3137f694
@ -48,7 +48,7 @@
|
||||
{{ if (isset $.Site.Params.Twitter "site") }}
|
||||
<meta name="twitter:site" content="{{ $.Site.Params.Twitter.site }}" />
|
||||
{{ end }}
|
||||
<meta name="twitter:creator" content="{{ if .IsHome }}{{ $.Site.Params.Twitter.creator }}{{ else if isset .Params "authortwitter" }}{{ .Params.authorTwitter }}{{ else }}{{ $.Param "author" }}{{ end }}" />
|
||||
<meta name="twitter:creator" content="{{ if .IsHome }}{{ $.Site.Params.Twitter.creator }}{{ else if $.Param "authortwitter" }}{{ $.Param "authorTwitter" }}{{ else }}{{ $.Param "author" }}{{ end }}" />
|
||||
{{ end }}
|
||||
|
||||
<!-- OG data -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user