Added socialmedia meta tags

main
CPunch 7 months ago
parent bcb13663d1
commit b76944a096
  1. 5
      layouts/partials/header.html

@ -1,6 +1,11 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta property="og:title" content="{{ .Title }} | {{ .Site.Title }}">
<meta property="og:type" content="article" />
<meta property="og:image" content="https://openpunk.com/icon.png">
<meta property="og:url" content="https:{{ .Permalink }}">
<meta name="twitter:card" content="summary_large_image">
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}

Loading…
Cancel
Save