update meta tags and add og:image
All checks were successful
ci/woodpecker/push/deploy-netlify Pipeline was successful

This commit is contained in:
Adora Laura Kalb 2023-08-31 10:06:52 +02:00
parent 796de905d9
commit 2a27da79b4
Signed by: adoralaura
GPG key ID: 7A4552166FC8C056
4 changed files with 10 additions and 10 deletions

View file

@ -1,11 +1,10 @@
<!doctype html>
<html lang="en">
<head>
{{ partial "head/meta.html" . }}
<title>{{ or .Title .Site.Title }}{{ if ne .Kind "home" }} | {{ .CurrentSection.Title }}{{ end }}</title>
{{ partial "head/defaults.html" . }}
{{ partial "head/favicon.html" . }}
{{ partial "head/styling.html" . }}
{{ partial "head/meta.html" . }}
</head>
<body>
{{ partial "body/nav.html" . }}

View file

@ -3,9 +3,9 @@
<head>
<title>{{ or .Title .Site.Title }}</title>
{{ partial "head/defaults.html" . }}
{{ partial "head/styling.html" . }}
{{ partial "head/meta.html" . }}
{{ partial "head/favicon.html" . }}
{{ partial "head/styling.html" . }}
</head>
<body>

View file

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

View file

@ -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 }}
<meta property="og:description" content="{{ $summary }}">
<meta name="description" content="{{ $summary }}">
<meta property="og:description" content="{{ $summary }}" />
<meta name="description" content="{{ $summary }}" />
{{ hugo.Generator }}