Browse Source

fix: Change manual OpenGraph tags to Hugo's template

master
ptrcnull 7 months ago
parent
commit
70380e1901
  1. 6
      layouts/_default/baseof.html

6
layouts/_default/baseof.html

@ -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 }}">

Loading…
Cancel
Save