update meta tags and add og:image
All checks were successful
ci/woodpecker/push/deploy-netlify Pipeline was successful
All checks were successful
ci/woodpecker/push/deploy-netlify Pipeline was successful
This commit is contained in:
parent
796de905d9
commit
2a27da79b4
4 changed files with 10 additions and 10 deletions
|
@ -1,11 +1,10 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
{{ partial "head/meta.html" . }}
|
||||||
<title>{{ or .Title .Site.Title }}{{ if ne .Kind "home" }} | {{ .CurrentSection.Title }}{{ end }}</title>
|
<title>{{ or .Title .Site.Title }}{{ if ne .Kind "home" }} | {{ .CurrentSection.Title }}{{ end }}</title>
|
||||||
{{ partial "head/defaults.html" . }}
|
|
||||||
{{ partial "head/favicon.html" . }}
|
{{ partial "head/favicon.html" . }}
|
||||||
{{ partial "head/styling.html" . }}
|
{{ partial "head/styling.html" . }}
|
||||||
{{ partial "head/meta.html" . }}
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{{ partial "body/nav.html" . }}
|
{{ partial "body/nav.html" . }}
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>{{ or .Title .Site.Title }}</title>
|
<title>{{ or .Title .Site.Title }}</title>
|
||||||
{{ partial "head/defaults.html" . }}
|
|
||||||
{{ partial "head/styling.html" . }}
|
|
||||||
{{ partial "head/meta.html" . }}
|
{{ partial "head/meta.html" . }}
|
||||||
|
{{ partial "head/favicon.html" . }}
|
||||||
|
{{ partial "head/styling.html" . }}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
<meta name="author" content="Laura Kalb">
|
|
||||||
<meta property="og:title" content="Lauras Website">
|
|
|
@ -1,4 +1,9 @@
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<meta name="author" content="Laura Kalb" />
|
||||||
|
<meta property="og:title" content="Lauras Website" />
|
||||||
|
<meta property="og:image" content="/android-chrome-512x512.png" />
|
||||||
{{ $summary := or .Page.Params.Description .Site.Params.Description }}
|
{{ $summary := or .Page.Params.Description .Site.Params.Description }}
|
||||||
<meta property="og:description" content="{{ $summary }}">
|
<meta property="og:description" content="{{ $summary }}" />
|
||||||
<meta name="description" content="{{ $summary }}">
|
<meta name="description" content="{{ $summary }}" />
|
||||||
{{ hugo.Generator }}
|
{{ hugo.Generator }}
|
||||||
|
|
Loading…
Reference in a new issue