From 1eec9fdf762f46a46b16f8c9566fab669ca11ad0 Mon Sep 17 00:00:00 2001 From: Patrick Neff Date: Tue, 8 Jan 2019 06:25:33 +0100 Subject: [PATCH] Update theme --- .gitignore | 2 +- content/ueber-uns/handwerk.md | 1 + content/ueber-uns/qualitaet.md | 1 + content/ueber-uns/tradition.md | 1 + data/{contact.toml => kontakt.toml} | 24 +++++++++---------- .../neff/layouts/partials/schema/post.jsonld | 8 +++---- .../neff/layouts/partials/schema/site.jsonld | 8 +++---- themes/neff/layouts/partials/social.html | 2 +- 8 files changed, 25 insertions(+), 22 deletions(-) rename data/{contact.toml => kontakt.toml} (89%) diff --git a/.gitignore b/.gitignore index 7893dcc..7988a32 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ .vscode/* -resources/* +resources/_gen/* public/* diff --git a/content/ueber-uns/handwerk.md b/content/ueber-uns/handwerk.md index 40fbbda..d678644 100644 --- a/content/ueber-uns/handwerk.md +++ b/content/ueber-uns/handwerk.md @@ -5,6 +5,7 @@ draft = false type = "ueber-uns" weight = -100 icon = "knuepfel" +headless = true +++ Wir planen und fertigen Arbeiten aus Naturstein im Wohnbereich, wie zum Beispiel Treppen, Böden, Wandverkleidungen, Waschtische, Küchenarbeitsplatten und im Grabmal Bereich. Weiterhin haben wir auch Bronze- und Steinskulpturen für Haus und Garten im Angebot. \ No newline at end of file diff --git a/content/ueber-uns/qualitaet.md b/content/ueber-uns/qualitaet.md index a7aca60..eb370a2 100644 --- a/content/ueber-uns/qualitaet.md +++ b/content/ueber-uns/qualitaet.md @@ -5,6 +5,7 @@ draft = false type = "ueber-uns" weight = -300 icon = "qualitaet" +headless = true +++ Eigene Ideen oder die unserer Kunden werden so umgesetzt, dass daraus einzigartige Produkte aus Naturstein entstehen. Sie erwerben bei uns ein Unikat von höchstem Wert und keine Massenware! diff --git a/content/ueber-uns/tradition.md b/content/ueber-uns/tradition.md index 4d6923d..8a5dcd9 100644 --- a/content/ueber-uns/tradition.md +++ b/content/ueber-uns/tradition.md @@ -5,6 +5,7 @@ draft = false type = "ueber-uns" weight = -200 icon = "4w" +headless = true +++ Die Firma wurde um 1900 in Niederkassel gegründet. Zu dieser Zeit wurden Feldbrandziegel produziert. Mitte der 1930er Jahre begann die Firma mit der Herstellung von Dachpfannen und Zaunpfeilern aus Beton. Ab den 1950er Jahren verarbeitete man zusätzlich Marmor und Granit. Anfangs nur angesiedelt in Niederkassel, haben wir heute zwei weitere Filialen im Raum Troisdorf. diff --git a/data/contact.toml b/data/kontakt.toml similarity index 89% rename from data/contact.toml rename to data/kontakt.toml index aabfaaa..16b8a60 100644 --- a/data/contact.toml +++ b/data/kontakt.toml @@ -1,65 +1,65 @@ -[[contact]] +[[kontakt]] email = "info@neff-steindesign.de" faxNumber = "+49 2208 947513" name = "Neff Stein-Design" telephone = "+49 2208 4575" openingHours = ["Mo,Tu,We,Th,Fr 09:00-12:00", "Mo,Tu,We,Th,Fr 13:40-17:00", "Sa 9:00-12:00"] - [contact.address] + [kontakt.address] addressLocality = "Niederkassel" addressRegion = "Nordrhein-Westfalen" addressCountry = "Germany" postalCode = "53859" streetAddress = "Rosenstr. 45-49" - [contact.geo] + [kontakt.geo] lat = "1.234" lon = "1.234" - [contact.social] + [kontakt.social] facebook = "https://www.facebook.com/pages/Neff-SteinDesign/150422701728311" instagram = "https://www.instagram.com/neff-steindesign" -[[contact]] +[[kontakt]] email = "info@neff-steindesign.de" faxNumber = "+49 2241 73418" name = "Neff Stein-Design" telephone = "+49 2241 76212" openingHours = ["Mo,Tu,We,Th,Fr 09:00-12:00", "Mo,Tu,We,Th,Fr 13:40-17:00", "Sa 9:00-12:00"] - [contact.address] + [kontakt.address] addressLocality = "Troisdorf" addressRegion = "Nordrhein-Westfalen" addressCountry = "Germany" postalCode = "53840" streetAddress = "Heerstr. 15" - [contact.geo] + [kontakt.geo] lat = "1.234" lon = "1.234" - [contact.social] + [kontakt.social] facebook = "https://www.facebook.com/pages/Neff-SteinDesign/150422701728311" instagram = "https://www.instagram.com/neff-steindesign" -[[contact]] +[[kontakt]] email = "info@neff-steindesign.de" faxNumber = "+49 2241 1469636" name = "Neff Stein-Design" telephone = "+49 2241 1277788" openingHours = ["Mo,Tu,We,Th,Fr 09:00-12:00", "Mo,Tu,We,Th,Fr 13:40-17:00", "Sa 9:00-12:00"] - [contact.address] + [kontakt.address] addressLocality = "Troisdorf Sieglar" addressRegion = "Nordrhein-Westfalen" addressCountry = "Germany" postalCode = "53844" streetAddress = "Vorgebirgsblick 46" - [contact.geo] + [kontakt.geo] lat = "1.234" lon = "1.234" - [contact.social] + [kontakt.social] facebook = "https://www.facebook.com/pages/Neff-SteinDesign/150422701728311" instagram = "https://www.instagram.com/neff-steindesign" diff --git a/themes/neff/layouts/partials/schema/post.jsonld b/themes/neff/layouts/partials/schema/post.jsonld index 10584a3..25c610c 100755 --- a/themes/neff/layouts/partials/schema/post.jsonld +++ b/themes/neff/layouts/partials/schema/post.jsonld @@ -9,17 +9,17 @@ "headline": "{{ .post.Title }}", "description": "{{ with .post.Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}", "inLanguage": "{{ .post.Lang }}", - "author": {{- range (first 1 (where .ctx.Site.Data.contact.contact ".address.addressLocality" "Niederkassel")) -}} + "author": {{- range (first 1 (where .ctx.Site.Data.kontakt.kontakt ".address.addressLocality" "Niederkassel")) -}} {{ partial "schema/organization.jsonld" (dict "org" . "ctx" $context "short" true) }} {{- end -}}, - "creator": {{- range (first 1 (where .ctx.Site.Data.contact.contact ".address.addressLocality" "Niederkassel")) -}} + "creator": {{- range (first 1 (where .ctx.Site.Data.kontakt.kontakt ".address.addressLocality" "Niederkassel")) -}} {{ partial "schema/organization.jsonld" (dict "org" . "ctx" $context "short" true) }} {{- end -}}, - "publisher": {{- range (first 1 (where .ctx.Site.Data.contact.contact ".address.addressLocality" "Niederkassel")) -}} + "publisher": {{- range (first 1 (where .ctx.Site.Data.kontakt.kontakt ".address.addressLocality" "Niederkassel")) -}} {{ partial "schema/organization.jsonld" (dict "org" . "ctx" $context "short" true) }} {{- end -}}, "copyrightHolder": - {{- range (first 1 (where .ctx.Site.Data.contact.contact ".address.addressLocality" "Niederkassel")) -}} + {{- range (first 1 (where .ctx.Site.Data.kontakt.kontakt ".address.addressLocality" "Niederkassel")) -}} {{ partial "schema/organization.jsonld" (dict "org" . "ctx" $context "short" true) }} {{- end -}}, "copyrightYear": "{{ .post.Date.Format "2006" }}", diff --git a/themes/neff/layouts/partials/schema/site.jsonld b/themes/neff/layouts/partials/schema/site.jsonld index 6725177..023613f 100755 --- a/themes/neff/layouts/partials/schema/site.jsonld +++ b/themes/neff/layouts/partials/schema/site.jsonld @@ -5,16 +5,16 @@ "@id": "{{ .ctx.Site.BaseURL }}", "url": "{{ .ctx.Site.BaseURL }}", {{ if (ne .short true) }} - "author": {{- range (first 1 (where .ctx.Site.Data.contact.contact ".address.addressLocality" "Niederkassel")) -}} + "author": {{- range (first 1 (where .ctx.Site.Data.kontakt.kontakt ".address.addressLocality" "Niederkassel")) -}} {{ partial "schema/organization.jsonld" (dict "org" . "ctx" $context "short" true) }} {{- end -}}, - "copyrightHolder": {{- range (first 1 (where .ctx.Site.Data.contact.contact ".address.addressLocality" "Niederkassel")) -}} + "copyrightHolder": {{- range (first 1 (where .ctx.Site.Data.kontakt.kontakt ".address.addressLocality" "Niederkassel")) -}} {{ partial "schema/organization.jsonld" (dict "org" . "ctx" $context "short" true) }} {{- end -}}, - "creator": {{- range (first 1 (where .ctx.Site.Data.contact.contact ".address.addressLocality" "Niederkassel")) -}} + "creator": {{- range (first 1 (where .ctx.Site.Data.kontakt.kontakt ".address.addressLocality" "Niederkassel")) -}} {{ partial "schema/organization.jsonld" (dict "org" . "ctx" $context "short" true) }} {{- end -}}, - "producer": {{- range (first 1 (where .ctx.Site.Data.contact.contact ".address.addressLocality" "Niederkassel")) -}} + "producer": {{- range (first 1 (where .ctx.Site.Data.kontakt.kontakt ".address.addressLocality" "Niederkassel")) -}} {{ partial "schema/organization.jsonld" (dict "org" . "ctx" $context "short" true) }} {{- end -}}, {{ with .ctx.Site.Params.description }} diff --git a/themes/neff/layouts/partials/social.html b/themes/neff/layouts/partials/social.html index edb58d1..45d0d1d 100644 --- a/themes/neff/layouts/partials/social.html +++ b/themes/neff/layouts/partials/social.html @@ -1,5 +1,5 @@