+ Proper open graph tags
This commit is contained in:
@@ -7,4 +7,13 @@
|
||||
{{ $title := print .Title }}
|
||||
{{ if .IsHome }}{{ $title = .Site.Title}}{{end}}
|
||||
<title>{{ $title }}</title>
|
||||
<meta property="og:title" content="{{ $title }}">
|
||||
<meta property="og:site_name" content="Shockrah's not-a-blog">
|
||||
{{ $url := print .RelPermalink }}
|
||||
<meta property="og:url" content="https://shockrah.xyz">
|
||||
{{ $desc := print .Description }}
|
||||
{{ if .IsHome }}{{ $desc = .Params.Description }}{{end}}
|
||||
<meta property="og:description" content="{{ $desc }}">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:image" content="/favicon.png">
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user