Skip to content

Commit

Permalink
fixed social links + added meta desc and names to pages (head.html an…
Browse files Browse the repository at this point in the history
…d /content/_page_ metaDesc)
  • Loading branch information
ololiuhqui committed May 11, 2024
1 parent 0ef4c81 commit 9619a00
Show file tree
Hide file tree
Showing 18 changed files with 64 additions and 35 deletions.
5 changes: 4 additions & 1 deletion config/_default/languages/.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion config/_default/languages/.it.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions config/_default/languages/.sq.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand All @@ -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
Expand All @@ -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"
Expand Down
7 changes: 7 additions & 0 deletions content/en/_index.html
Original file line number Diff line number Diff line change
@@ -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.'
---
4 changes: 3 additions & 1 deletion content/en/contacts.html
Original file line number Diff line number Diff line change
@@ -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.'
---
4 changes: 3 additions & 1 deletion content/en/office/index.html
Original file line number Diff line number Diff line change
@@ -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.'
---
4 changes: 3 additions & 1 deletion content/en/services.html
Original file line number Diff line number Diff line change
@@ -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. '
---
7 changes: 7 additions & 0 deletions content/it/_index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: ''
draft: false
layout: '_index'
params:
metaDesc: 'Troverai un ufficio accogliente nel centro della bellissima città di Firenze.'
---
4 changes: 3 additions & 1 deletion content/it/contacts.html
Original file line number Diff line number Diff line change
@@ -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.'
---
2 changes: 1 addition & 1 deletion content/it/office/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 'Lo Studio'
title: 'Lo Studio |'
slug: 'office'
draft: false
type: 'pages'
Expand Down
4 changes: 3 additions & 1 deletion content/it/services.html
Original file line number Diff line number Diff line change
@@ -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.'
---
8 changes: 8 additions & 0 deletions content/sq/_index.html
Original file line number Diff line number Diff line change
@@ -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.'
---
6 changes: 3 additions & 3 deletions content/sq/contacts.html
Original file line number Diff line number Diff line change
@@ -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.'
---
4 changes: 3 additions & 1 deletion content/sq/office/index.html
Original file line number Diff line number Diff line change
@@ -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.'
---
4 changes: 3 additions & 1 deletion content/sq/services.html
Original file line number Diff line number Diff line change
@@ -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.'
---
2 changes: 1 addition & 1 deletion layouts/home.html → layouts/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{{ .Site.Params.homepage.preTitle }}
</div>
<h1 class="display-1 fw-bolder">
<span class="d-inline">{{ .Site.Params.homepage.title }}</span>
<span class="d-inline">{{ .Site.Params.homepage.title }} </span>
</h1>
<p class="text-justify">{{ .Site.Params.homepage.intro | markdownify}}</p>
</div>
Expand Down
22 changes: 5 additions & 17 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -1,37 +1,25 @@
<head>
<title>
{{ .Site.Title }} {{if .Page.IsHome}}- {{.Site.Params.subtitle}} {{end}}
{{if not .Page.IsHome}}- {{ .Page.Name }} {{end}}
</title>
<title>{{.Page.Title}} {{.Site.Title}} {{.Site.Params.subtitle}}</title>
<meta charset="utf-8" />
<meta name="description" content="{{.Site.Params.homepage.intro}}" />
<meta name="description" content="{{.Page.Params.params.metaDesc}}" />
<meta name="dc.relation" content="{{ .Site.BaseURL }}" />

<!-- Google / Search Engine Tags -->
<meta itemprop="name" content="Erva Kambo - Psicologa" />
<meta
itemprop="description"
content="Mi piace aiutare le persone a sentirsi comprese, ad affrontare i propri dolori e le proprie gioie, e ritrovare la forza interiore nei momenti difficili della loro vita. Attraverso una relazione basata sulla fiducia e l’empatia, sarà possibile dare vita ad uno spazio sicuro e accogliente in cui avrai l’opportunità di esplorare profondamente te stesso e sviluppare una maggiore **consapevolezza delle tue emozioni, pensieri e comportamenti**. Insieme esploreremo le difficoltà in ambito relazionale, familiare, lavorativo, di coppia, culturale e di genere. La tua **crescita personale** è la mia priorità e sono qui per accompagnarti in ogni fase del tuo percorso verso il tuo **benessere emotivo**."
/>
<meta itemprop="description" content="{{.Page.Params.params.metaDesc}}" />
<meta itemprop="image" content="{{ "img/profile.jpg" | absURL}}" />

<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://ervakambo.com" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Erva Kambo - Psicologa" />
<meta
property="og:description"
content="Mi piace aiutare le persone a sentirsi comprese, ad affrontare i propri dolori e le proprie gioie, e ritrovare la forza interiore nei momenti difficili della loro vita. Attraverso una relazione basata sulla fiducia e l’empatia, sarà possibile dare vita ad uno spazio sicuro e accogliente in cui avrai l’opportunità di esplorare profondamente te stesso e sviluppare una maggiore **consapevolezza delle tue emozioni, pensieri e comportamenti**. Insieme esploreremo le difficoltà in ambito relazionale, familiare, lavorativo, di coppia, culturale e di genere. La tua **crescita personale** è la mia priorità e sono qui per accompagnarti in ogni fase del tuo percorso verso il tuo **benessere emotivo**."
/>
<meta property="og:description" content="{{.Page.Params.params.metaDesc}}" />
<meta property="og:image" content="{{ "img/profile.jpg" | absURL}}" />

<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Erva Kambo - Psicologa" />
<meta
name="twitter:description"
content="Mi piace aiutare le persone a sentirsi comprese, ad affrontare i propri dolori e le proprie gioie, e ritrovare la forza interiore nei momenti difficili della loro vita. Attraverso una relazione basata sulla fiducia e l’empatia, sarà possibile dare vita ad uno spazio sicuro e accogliente in cui avrai l’opportunità di esplorare profondamente te stesso e sviluppare una maggiore **consapevolezza delle tue emozioni, pensieri e comportamenti**. Insieme esploreremo le difficoltà in ambito relazionale, familiare, lavorativo, di coppia, culturale e di genere. La tua **crescita personale** è la mia priorità e sono qui per accompagnarti in ogni fase del tuo percorso verso il tuo **benessere emotivo**."
/>
<meta name="twitter:description" content="{{.Page.Params.params.metaDesc}}" />
<meta name="twitter:image" content="{{ "img/profile.jpg" | absURL}}" />

<meta
Expand Down
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- how to modify site variables
- how to modify page variables (like metadesc)

0 comments on commit 9619a00

Please sign in to comment.