proper twitter tags
Some checks failed
Build and Deploy Blog Site / setup-website-content (push) Failing after 8s
Some checks failed
Build and Deploy Blog Site / setup-website-content (push) Failing after 8s
This commit is contained in:
@@ -16,9 +16,15 @@
|
|||||||
{{ if .IsHome }}{{ $desc = .Params.Description }}{{end}}
|
{{ if .IsHome }}{{ $desc = .Params.Description }}{{end}}
|
||||||
<meta property="og:description" content="{{ $desc }}">
|
<meta property="og:description" content="{{ $desc }}">
|
||||||
<meta name="description" content="{{ $desc }}">
|
<meta name="description" content="{{ $desc }}">
|
||||||
<meta property="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="description" content="{{ $desc }}">
|
<meta property="description" content="{{ $desc }}">
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
|
<!-- Twitter opengraph tags -->
|
||||||
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
|
<meta name="twitter:title" content="{{ $title }}">
|
||||||
|
<meta name="twitter:description" content="{{ $desc }}">
|
||||||
|
<meta name="twitter:image" content="{{ $ogimage }}">
|
||||||
|
<meta name="twitter:site" content="@temper_xyz">
|
||||||
|
<meta name="twitter:creator" content="@temper_xyz">
|
||||||
{{ $ogvideo := "" }}
|
{{ $ogvideo := "" }}
|
||||||
{{ if .Params.Video }}
|
{{ if .Params.Video }}
|
||||||
{{ $ogvideo = .Params.Video }}
|
{{ $ogvideo = .Params.Video }}
|
||||||
|
|||||||
Reference in New Issue
Block a user