From 796de905d9c9893dff96f98f94b509ff5cbb2cb0 Mon Sep 17 00:00:00 2001 From: lauralani Date: Thu, 31 Aug 2023 09:54:02 +0200 Subject: [PATCH] update meta tags --- content/encryption.md | 1 + content/erisi.md | 1 + content/found.md | 1 + content/impressum.md | 1 + content/interesting-stuff.md | 1 + content/portfolio.md | 1 + content/sprachtherapie.md | 1 + hugo.yaml | 5 ++++- layouts/_default/baseof.html | 2 +- layouts/home.html | 2 +- layouts/partials/head/defaults.html | 4 +++- layouts/partials/head/meta.html | 4 ++++ layouts/partials/head/sharing.html | 2 -- 13 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 layouts/partials/head/meta.html delete mode 100644 layouts/partials/head/sharing.html diff --git a/content/encryption.md b/content/encryption.md index de3ddba..100c875 100644 --- a/content/encryption.md +++ b/content/encryption.md @@ -1,6 +1,7 @@ --- title: "Lauras SMIME and GPG Keys" date: 2023-06-23T10:02:23+02:00 +description: "Overview of Lauras GPG and SMIME encryption keys" --- Last updated: `{{< last-updated >}}` diff --git a/content/erisi.md b/content/erisi.md index d6fd99f..bfee3e7 100644 --- a/content/erisi.md +++ b/content/erisi.md @@ -1,5 +1,6 @@ --- title: "Erisi: A self-hosted static site server" +description: "Project outline page for erisi. erisi is planned to be a self-hosted alternative to Netlify/Vercel/Github Pages/etc... written in Go and utilizing Caddy and it's ACME capabilities." --- ## Summary diff --git a/content/found.md b/content/found.md index a161e98..d14a892 100644 --- a/content/found.md +++ b/content/found.md @@ -1,6 +1,7 @@ --- date: 2023-08-08 12:20:00+02:00 title: "Gefunden / Found" +description: "Page showing how to contact Laura in case you've found something of hers" --- ## 🇩🇪 German diff --git a/content/impressum.md b/content/impressum.md index 12db0d9..1c41b83 100644 --- a/content/impressum.md +++ b/content/impressum.md @@ -1,5 +1,6 @@ --- title: Impressum und Datenschutzerklärung +description: Impressum und Datenschutzerklärung --- ## Impressum diff --git a/content/interesting-stuff.md b/content/interesting-stuff.md index 1298e71..c3cd8fe 100644 --- a/content/interesting-stuff.md +++ b/content/interesting-stuff.md @@ -1,5 +1,6 @@ --- title: "Lauras Interesting Stuff" +description: "A list of interesting things curated by Laura 🌠" --- A list of cool things, curated by me 🌠 diff --git a/content/portfolio.md b/content/portfolio.md index dc11d7a..b75cd25 100644 --- a/content/portfolio.md +++ b/content/portfolio.md @@ -1,5 +1,6 @@ --- title: "Portfolio" +description: "Lauras Software Development portfolio" --- Here you can find a list of projects I worked on: diff --git a/content/sprachtherapie.md b/content/sprachtherapie.md index 9abca3c..ac5bf6a 100644 --- a/content/sprachtherapie.md +++ b/content/sprachtherapie.md @@ -1,5 +1,6 @@ --- title: Sprachtherapie +description: "Eine Beschreibung der von Laura gelernten Prinzipien in der transgender mtf Sprachtherapie" --- ## Ziel diff --git a/hugo.yaml b/hugo.yaml index a5d8ab8..64500ae 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -1,6 +1,8 @@ baseURL: http://example.org/ languageCode: en-us title: Lauras Website <3 +params: + description: "Lauras personal website and portfolio 💖" menu: main: @@ -9,4 +11,5 @@ menu: weight: 2 - name: Interesting Stuff pageRef: /interesting-stuff - weight: 3 \ No newline at end of file + weight: 3 + diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 418fa7a..5ea1be5 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,7 +5,7 @@ {{ partial "head/defaults.html" . }} {{ partial "head/favicon.html" . }} {{ partial "head/styling.html" . }} - {{ partial "head/sharing.html" . }} + {{ partial "head/meta.html" . }} {{ partial "body/nav.html" . }} diff --git a/layouts/home.html b/layouts/home.html index fd75b84..a468500 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -5,7 +5,7 @@ {{ or .Title .Site.Title }} {{ partial "head/defaults.html" . }} {{ partial "head/styling.html" . }} - {{ partial "head/sharing.html" . }} + {{ partial "head/meta.html" . }} diff --git a/layouts/partials/head/defaults.html b/layouts/partials/head/defaults.html index 98df045..1c7c622 100644 --- a/layouts/partials/head/defaults.html +++ b/layouts/partials/head/defaults.html @@ -1,2 +1,4 @@ - \ No newline at end of file + + + \ No newline at end of file diff --git a/layouts/partials/head/meta.html b/layouts/partials/head/meta.html new file mode 100644 index 0000000..929c7ae --- /dev/null +++ b/layouts/partials/head/meta.html @@ -0,0 +1,4 @@ +{{ $summary := or .Page.Params.Description .Site.Params.Description }} + + +{{ hugo.Generator }} diff --git a/layouts/partials/head/sharing.html b/layouts/partials/head/sharing.html deleted file mode 100644 index 63b758b..0000000 --- a/layouts/partials/head/sharing.html +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file