opengraph.html 427 B

12345678
  1. <meta property="og:title" content="{{ if isset .Params "title" }}{{ print .Title " - " .Site.Title }}{{ else }}{{ .Site.Title }}{{ end }}" />
  2. {{- if and (eq .Type "blog") (not .IsSection) }}
  3. <meta property="og:type" content="article" />
  4. {{- else }}
  5. <meta property="og:type" content="website" />
  6. {{- end }}
  7. <meta property="og:image" content="" />
  8. <meta property="og:url" content="{{ .Permalink }}" />