fix: Change manual OpenGraph tags to Hugo's template
This commit is contained in:
parent
f4e1b13955
commit
70380e1901
1 changed files with 1 additions and 5 deletions
|
@ -7,11 +7,7 @@
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
||||||
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
||||||
|
{{ template "_internal/opengraph.html" . }}
|
||||||
<meta property="og:title" content="{{ .Title }}">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:url" content="{{ .Permalink }}">
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}">
|
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}">
|
||||||
{{ range .Site.Params.customCSS -}}
|
{{ range .Site.Params.customCSS -}}
|
||||||
<link rel="stylesheet" href="{{ . | relURL }}?rnd={{ now.Unix }}">
|
<link rel="stylesheet" href="{{ . | relURL }}?rnd={{ now.Unix }}">
|
||||||
|
|
Loading…
Reference in a new issue