From 9619a00aa384689651139072878ec59b99b4b614 Mon Sep 17 00:00:00 2001 From: Ololiuhqui Date: Sat, 11 May 2024 13:31:45 +0200 Subject: [PATCH] fixed social links + added meta desc and names to pages (head.html and /content/_page_ metaDesc) --- config/_default/languages/.en.toml | 5 ++++- config/_default/languages/.it.toml | 2 +- config/_default/languages/.sq.toml | 8 ++++---- content/en/_index.html | 7 +++++++ content/en/contacts.html | 4 +++- content/en/office/index.html | 4 +++- content/en/services.html | 4 +++- content/it/_index.html | 7 +++++++ content/it/contacts.html | 4 +++- content/it/office/index.html | 2 +- content/it/services.html | 4 +++- content/sq/_index.html | 8 ++++++++ content/sq/contacts.html | 6 +++--- content/sq/office/index.html | 4 +++- content/sq/services.html | 4 +++- layouts/{home.html => _index.html} | 2 +- layouts/partials/head.html | 22 +++++----------------- readme.md | 2 ++ 18 files changed, 64 insertions(+), 35 deletions(-) create mode 100644 content/en/_index.html create mode 100644 content/it/_index.html create mode 100644 content/sq/_index.html rename layouts/{home.html => _index.html} (99%) create mode 100644 readme.md diff --git a/config/_default/languages/.en.toml b/config/_default/languages/.en.toml index b22ec91..1060fd4 100644 --- a/config/_default/languages/.en.toml +++ b/config/_default/languages/.en.toml @@ -12,6 +12,9 @@ contentDir = "content/en" # PAGES [params.homepage] + # SEO meta tags (what appears in google search results) can be set + # in individual pages frontmatters /content/*page* + ### preTitle = 'Psychologist in Florence' title = "Erva Kambo" # You can use some markdown safely for the description as long as you don't include line breaks @@ -93,7 +96,7 @@ the following areas:""" title = "Emotional dependence" description= "" [params.services.list.06] - title = "Manage stress and build resilience" + title = "Resilience building" description= "" [params.services.list.07] title = "Improve performance and achieve goals" diff --git a/config/_default/languages/.it.toml b/config/_default/languages/.it.toml index bef2020..0b635e8 100644 --- a/config/_default/languages/.it.toml +++ b/config/_default/languages/.it.toml @@ -104,7 +104,7 @@ seguenti aree:""" link = "https://www.instagram.com/ervakambo/" [[params.socials.link]] name = "linkedin" - link = "https://www.linkedin.com/in/erva-kambo" + link = "https://www.linkedin.com/in/ervakambo/" [[params.socials.link]] name = "whatsapp" link = "https://wa.me/393801783513" diff --git a/config/_default/languages/.sq.toml b/config/_default/languages/.sq.toml index 5ad0927..5b3e32f 100644 --- a/config/_default/languages/.sq.toml +++ b/config/_default/languages/.sq.toml @@ -45,7 +45,7 @@ contentDir = "content/sq" [params.office] title = "Zyra" - description = "Do të gjeni një zyrë mikpritëse në qendër të Firences." + description = "Do të gjeni një zyrë mikpritëse në qendër të Firence." buttonText = "Udhëzime" buttonLink = "https://maps.app.goo.gl/fxmD9cQXUVS5Xp9t8" # google maps share link here (for button) mapLink = "https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d23046.70708393103!2d11.250820486945312!3d43.77621354501747!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x132a54126faf8b3d%3A0x37e724bfc089c27a!2sVia%20dei%20della%20Robbia%2C%2023%2C%2050132%20Firenze%20FI!5e0!3m2!1sit!2sit!4v1714143516043!5m2!1sit!2sit" # google maps embed link here @@ -89,7 +89,7 @@ Seancat tona do të zgjasin 60 minuta personalisht ose online. Së bashku do mun title = "Varësia emocionale" description= "" [params.services.list.06] - title = "Menaxhimi i stresit dhe ndërtimi i qëndrueshmërisë" + title = "Ndërtimi i qëndrueshmërisë" description= "" [params.services.list.07] title = "Përmirësimi i performancës dhe arritja e qëllimeve" @@ -101,7 +101,7 @@ Seancat tona do të zgjasin 60 minuta personalisht ose online. Së bashku do mun title = "Menaxhimi i stresit dhe krizat personale" description= "" [params.services.list.10] - title = "“Mërgimi dhe jeta jashtë shtetit”" + title = "Mërgimi dhe jeta jashtë shtetit" description= "" # /. PAGES @@ -114,7 +114,7 @@ Seancat tona do të zgjasin 60 minuta personalisht ose online. Së bashku do mun link = "https://www.instagram.com/ervakambo/" [[params.socials.link]] name = "linkedin" - link = "https://www.linkedin.com/in/erva-kambo" + link = "https://www.linkedin.com/in/ervakambo/" [[params.socials.link]] name = "whatsapp" link = "https://wa.me/393801783513" diff --git a/content/en/_index.html b/content/en/_index.html new file mode 100644 index 0000000..d76a486 --- /dev/null +++ b/content/en/_index.html @@ -0,0 +1,7 @@ +--- +title: '' +draft: false +layout: '_index' +params: + metaDesc: 'I like to help people feel understood, face their pain and joy, and find inner strength in difficult moments of their lives.' +--- diff --git a/content/en/contacts.html b/content/en/contacts.html index b3fe4a3..d35739c 100644 --- a/content/en/contacts.html +++ b/content/en/contacts.html @@ -1,7 +1,9 @@ --- -title: 'Contacts' +title: 'Contacts |' slug: 'contacts' draft: false type: 'pages' layout: 'contacts' +params: + metaDesc: 'Get in touch with me on email, Whatsapp or social medias.' --- diff --git a/content/en/office/index.html b/content/en/office/index.html index 6db1a4a..8058b90 100644 --- a/content/en/office/index.html +++ b/content/en/office/index.html @@ -1,7 +1,9 @@ --- -title: 'The Office' +title: 'The Office |' slug: 'office' draft: false type: 'pages' layout: 'office' +params: + metaDesc: 'You will find a welcoming office in the center of the beautiful city of Florence.' --- diff --git a/content/en/services.html b/content/en/services.html index 0f02825..e065614 100644 --- a/content/en/services.html +++ b/content/en/services.html @@ -1,7 +1,9 @@ --- -title: 'Services' +title: 'Services |' slug: 'services' draft: false layout: 'services' type: 'pages' +params: + metaDesc: ' I offer individual and couples psychological support and consultation. ' --- diff --git a/content/it/_index.html b/content/it/_index.html new file mode 100644 index 0000000..ad8fe04 --- /dev/null +++ b/content/it/_index.html @@ -0,0 +1,7 @@ +--- +title: '' +draft: false +layout: '_index' +params: + metaDesc: 'Troverai un ufficio accogliente nel centro della bellissima città di Firenze.' +--- diff --git a/content/it/contacts.html b/content/it/contacts.html index 7cf85b0..0f94a24 100644 --- a/content/it/contacts.html +++ b/content/it/contacts.html @@ -1,7 +1,9 @@ --- -title: 'Contatti' +title: 'Contatti |' slug: 'contacts' draft: false type: 'pages' layout: 'contacts' +params: + metaDesc: 'Contattami via e-mail, Whatsapp o sui social media.' --- diff --git a/content/it/office/index.html b/content/it/office/index.html index bfff9fb..f2b8dd4 100644 --- a/content/it/office/index.html +++ b/content/it/office/index.html @@ -1,5 +1,5 @@ --- -title: 'Lo Studio' +title: 'Lo Studio |' slug: 'office' draft: false type: 'pages' diff --git a/content/it/services.html b/content/it/services.html index 1d04fb3..443c1ba 100644 --- a/content/it/services.html +++ b/content/it/services.html @@ -1,7 +1,9 @@ --- -title: 'Consulenza' +title: 'Consulenza |' slug: 'services' draft: false layout: 'services' type: 'pages' +params: + metaDesc: 'Offro sostegno e consulenza psicologica individuale e di coppia.' --- diff --git a/content/sq/_index.html b/content/sq/_index.html new file mode 100644 index 0000000..0129b66 --- /dev/null +++ b/content/sq/_index.html @@ -0,0 +1,8 @@ +--- +title: '' +draft: false +layout: '_index' +params: + metaDesc: 'Më pëlqen ti ndihmoj njerëzit të ndihen të kuptuar, të përballen me dhimbjen dhe gëzimin, dhe të + gjejnë forcë të brëndshme në momente të vështira të jetës së tyre.' +--- diff --git a/content/sq/contacts.html b/content/sq/contacts.html index e5815a3..5f33d55 100644 --- a/content/sq/contacts.html +++ b/content/sq/contacts.html @@ -1,9 +1,9 @@ --- -title: ' -Kontaktet -' +title: 'Kontaktet |' slug: 'contacts' draft: false type: 'pages' layout: 'contacts' +params: + metaDesc: 'Më kontaktoni me email, Whatsapp ose media sociale.' --- diff --git a/content/sq/office/index.html b/content/sq/office/index.html index 55fbb06..1d0ec50 100644 --- a/content/sq/office/index.html +++ b/content/sq/office/index.html @@ -1,7 +1,9 @@ --- -title: 'Zyra' +title: 'Zyra |' slug: 'office' draft: false type: 'pages' layout: 'office' +params: + metaDesc: 'Do të gjeni një zyrë mikpritëse në qendër të Firence.' --- diff --git a/content/sq/services.html b/content/sq/services.html index 6a86899..13878d1 100644 --- a/content/sq/services.html +++ b/content/sq/services.html @@ -1,7 +1,9 @@ --- -title: 'Shërbimet' +title: 'Shërbimet |' slug: 'services' draft: false layout: 'services' type: 'pages' +params: + metaDesc: 'Ofroj mbështetje psikologjike dhe këshillim individual dhe në çift.' --- diff --git a/layouts/home.html b/layouts/_index.html similarity index 99% rename from layouts/home.html rename to layouts/_index.html index defc124..ceb2552 100644 --- a/layouts/home.html +++ b/layouts/_index.html @@ -8,7 +8,7 @@ {{ .Site.Params.homepage.preTitle }}

- {{ .Site.Params.homepage.title }} + {{ .Site.Params.homepage.title }}

{{ .Site.Params.homepage.intro | markdownify}}

diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 372d0da..6ef906a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,37 +1,25 @@ - - {{ .Site.Title }} {{if .Page.IsHome}}- {{.Site.Params.subtitle}} {{end}} - {{if not .Page.IsHome}}- {{ .Page.Name }} {{end}} - + {{.Page.Title}} {{.Site.Title}} {{.Site.Params.subtitle}} - + - + - + - +