adding SEO improvements

This commit is contained in:
cortex3 2023-12-17 19:28:26 +01:00
parent 51e697bea7
commit 996838954a
2 changed files with 7 additions and 7 deletions

View file

@ -1,7 +1,7 @@
@font-face { @font-face {
font-family: "Inter"; font-family: "Inter";
font-style: normal; font-style: normal;
font-display: auto; font-display: swap;
font-weight: 400; font-weight: 400;
src: url("fonts/Inter-Regular.woff2") format("woff2"), src: url("fonts/Inter-Regular.woff2") format("woff2"),
url("fonts/Inter-Regular.woff") format("woff"); url("fonts/Inter-Regular.woff") format("woff");
@ -9,7 +9,7 @@
@font-face { @font-face {
font-family: "Inter"; font-family: "Inter";
font-style: italic; font-style: italic;
font-display: auto; font-display: swap;
font-weight: 400; font-weight: 400;
src: url("fonts/Inter-Italic.woff2") format("woff2"), src: url("fonts/Inter-Italic.woff2") format("woff2"),
url("fonts/Inter-Italic.woff") format("woff"); url("fonts/Inter-Italic.woff") format("woff");
@ -18,7 +18,7 @@
@font-face { @font-face {
font-family: "Inter"; font-family: "Inter";
font-style: normal; font-style: normal;
font-display: auto; font-display: swap;
font-weight: 600; font-weight: 600;
src: url("fonts/Inter-Medium.woff2") format("woff2"), src: url("fonts/Inter-Medium.woff2") format("woff2"),
url("fonts/Inter-Medium.woff") format("woff"); url("fonts/Inter-Medium.woff") format("woff");
@ -26,7 +26,7 @@
@font-face { @font-face {
font-family: "Inter"; font-family: "Inter";
font-style: italic; font-style: italic;
font-display: auto; font-display: swap;
font-weight: 600; font-weight: 600;
src: url("fonts/Inter-MediumItalic.woff2") format("woff2"), src: url("fonts/Inter-MediumItalic.woff2") format("woff2"),
url("fonts/Inter-MediumItalic.woff") format("woff"); url("fonts/Inter-MediumItalic.woff") format("woff");
@ -35,7 +35,7 @@
@font-face { @font-face {
font-family: "Inter"; font-family: "Inter";
font-style: normal; font-style: normal;
font-display: auto; font-display: swap;
font-weight: 800; font-weight: 800;
src: url("fonts/Inter-Bold.woff2") format("woff2"), src: url("fonts/Inter-Bold.woff2") format("woff2"),
url("fonts/Inter-Bold.woff") format("woff"); url("fonts/Inter-Bold.woff") format("woff");
@ -43,7 +43,7 @@
@font-face { @font-face {
font-family: "Inter"; font-family: "Inter";
font-style: italic; font-style: italic;
font-display: auto; font-display: swap;
font-weight: 800; font-weight: 800;
src: url("fonts/Inter-BoldItalic.woff2") format("woff2"), src: url("fonts/Inter-BoldItalic.woff2") format("woff2"),
url("fonts/Inter-BoldItalic.woff") format("woff"); url("fonts/Inter-BoldItalic.woff") format("woff");

View file

@ -3,7 +3,7 @@
{{ end }} {{ end }}
{{ define "main" }} {{ define "main" }}
<main aria-role="main"> <main>
<div> <div>
{{ if .Site.Params.Portrait.Path }} {{ if .Site.Params.Portrait.Path }}
<img src="{{ .Site.Params.Portrait.Path }}" class="circle" alt="{{ .Site.Params.Portrait.Alt }}" style="max-width:{{ .Site.Params.Portrait.MaxWidth }}" /> <img src="{{ .Site.Params.Portrait.Path }}" class="circle" alt="{{ .Site.Params.Portrait.Alt }}" style="max-width:{{ .Site.Params.Portrait.MaxWidth }}" />