update layouts do include partials; preload fonts
All checks were successful
ci/woodpecker/push/deploy-netlify Pipeline was successful

This commit is contained in:
Adora Laura Kalb 2023-08-10 08:03:44 +02:00
parent 645cda9c23
commit ffe43db394
Signed by: adoralaura
GPG key ID: 7A4552166FC8C056
5 changed files with 25 additions and 17 deletions

View file

@ -1,11 +1,10 @@
<!doctype html> <!doctype html>
<html> <html lang="en">
<head> <head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<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>
{{ $style := resources.Get "scss/style.scss" | toCSS | minify }} {{ partial "head/defaults.html" . }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}"> {{ partial "head/styling.html" . }}
{{ partial "head/sharing.html" . }}
</head> </head>
<body> <body>
{{ block "page" . }}{{ end }} {{ block "page" . }}{{ end }}

View file

@ -1,14 +1,16 @@
<!doctype html> <!doctype html>
<html> <html lang="en">
<head> <head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ or .Title .Site.Title }}</title> <title>{{ or .Title .Site.Title }}</title>
{{ $style := resources.Get "scss/style.scss" | toCSS | minify }} {{ partial "head/defaults.html" . }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}"> {{ partial "head/styling.html" . }}
{{ partial "head/sharing.html" . }}
</head> </head>
<body> <body>
<h1>{{ .Site.Title }}</h1> <h1>{{ .Site.Title }}</h1>
{{ .Content }} {{ .Content }}
</body> </body>
</html> </html>

View file

@ -0,0 +1,2 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

View file

@ -0,0 +1,2 @@
<meta property="og:title" content="Lauras Website">
<meta property="og:description" content="general website for Laura Kalb">

View file

@ -0,0 +1,3 @@
{{ $style := resources.Get "scss/style.scss" | toCSS | minify }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
<link rel="preload" href="/fonts/open-sans-v35-latin-regular.woff2" as="font" type="font/woff2" crossorigin>