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>
|
||||
<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" . }}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 }}
|
||||
<meta property="og:description" content="{{ $summary }}">
|
||||
<meta name="description" content="{{ $summary }}">
|
||||
<meta property="og:description" content="{{ $summary }}" />
|
||||
<meta name="description" content="{{ $summary }}" />
|
||||
{{ hugo.Generator }}
|
||||
|
|
Loading…
Reference in a new issue