fix: Change manual OpenGraph tags to Hugo's template

This commit is contained in:
ptrcnull 2021-11-23 18:11:31 +01:00
parent f4e1b13955
commit 70380e1901
1 changed files with 1 additions and 5 deletions

View File

@ -7,11 +7,7 @@
<title>{{ .Title }}</title>
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
<meta property="og:title" content="{{ .Title }}">
<meta property="og:type" content="website">
<meta property="og:url" content="{{ .Permalink }}">
{{ template "_internal/opengraph.html" . }}
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}">
{{ range .Site.Params.customCSS -}}
<link rel="stylesheet" href="{{ . | relURL }}?rnd={{ now.Unix }}">