Use HTML5 syntax for Open Graph meta tags
This commit is contained in:
parent
ba708d0738
commit
122814703a
|
@ -4,16 +4,16 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<meta property="og:site_name" content="{{ .Site.Title }}">
|
||||
<meta property="og:title" content="{{ .Site.Title }} – {{ .Title }}">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="{{ .Permalink }}">
|
||||
<meta property="og:image" content="{{ .Site.BaseURL }}/events-header.png">
|
||||
<meta property="og:locale" content="{{ .Site.LanguageCode }}">
|
||||
<title>{{ block "title" . }}{{ .Title }} – {{ .Site.Title }}{{ end }}</title>
|
||||
<link rel="icon" href="/icon.svg" sizes="any" type="image/svg+xml">
|
||||
{{ $style := resources.Get "style.scss" | resources.ToCSS (dict "outputStyle" "compressed") }}
|
||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
||||
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
||||
<meta property="og:title" content="{{ .Site.Title }} – {{ .Title }}" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="{{ .Permalink }}" />
|
||||
<meta property="og:image" content="{{ .Site.BaseURL }}/events-header.png" />
|
||||
<meta property="og:locale" content="{{ .Site.LanguageCode }}" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
|
|
Loading…
Reference in New Issue