Added description meta tag to content pages, eg. blog posts, journal entries, etc.

main
CPunch 7 months ago
parent b76944a096
commit 59ab152e2f
  1. 3
      layouts/partials/header.html

@ -4,6 +4,9 @@
<meta property="og:title" content="{{ .Title }} | {{ .Site.Title }}">
<meta property="og:type" content="article" />
<meta property="og:image" content="https://openpunk.com/icon.png">
{{ if .IsPage }}
<meta property="og:description" content="{{ .Summary }}">
{{ end }}
<meta property="og:url" content="https:{{ .Permalink }}">
<meta name="twitter:card" content="summary_large_image">
{{ range .AlternativeOutputFormats -}}

Loading…
Cancel
Save