- fix single page header (style and back link)

- fix some markdown content and add parameter link if needed
This commit is contained in:
2025-01-24 20:57:47 +01:00
parent fc87d59dbb
commit eafd8186e3
13 changed files with 48 additions and 29 deletions

View File

@@ -1,5 +1,7 @@
--- ---
title: "Sobre Mim" title: "Sobre Mim"
params:
back_link: /#about-me
--- ---
{{< about-me >}} {{< about-me >}}

View File

@@ -1,5 +1,6 @@
--- ---
title: "Calendário de Treinamentos" title: "Treinamentos"
#title: "Calendário de Treinamentos"
weight: 2 weight: 2
header_menu: true header_menu: true
--- ---

View File

@@ -1,12 +1,13 @@
--- ---
title: "Massagem Esportiva em março (Brasil 🇧🇷)" title: "Massagem Esportiva em março (Brasil 🇧🇷)"
layout: "single_training" params:
back_link: /#traisnings-calendar
--- ---
Datas: 25, 26 e 27 de março de 2025 Datas: 25, 26 e 27 de março de 2025
Localização: [Hilton Barra Rio de Janeiro](https://maps.app.goo.gl/7nVcR8N4NHm9R3PY6) (Brasil 🇧🇷) Localização: [Hilton Barra Rio de Janeiro](https://maps.app.goo.gl/7nVcR8N4NHm9R3PY6) (Brasil 🇧🇷)
#### Programação ## Programação
Duração: 3 DIAS (24 HORAS) Duração: 3 DIAS (24 HORAS)

View File

@@ -1,12 +1,13 @@
--- ---
title: "Starpping Expert em março (Brasil 🇧🇷)" title: "Starpping Expert em março (Brasil 🇧🇷)"
layout: "single_training" params:
back_link: /#trainings-calendar
--- ---
Datas: 28, 29 e 30 de março de 2025 Datas: 28, 29 e 30 de março de 2025
Localização: [Hilton Barra Rio de Janeiro](https://maps.app.goo.gl/7nVcR8N4NHm9R3PY6) (Brasil 🇧🇷) Localização: [Hilton Barra Rio de Janeiro](https://maps.app.goo.gl/7nVcR8N4NHm9R3PY6) (Brasil 🇧🇷)
#### Programação ## Programação
Duração: 3 DIAS (24 HORAS) Duração: 3 DIAS (24 HORAS)

View File

@@ -1,5 +1,7 @@
--- ---
title: "About Me" title: "About Me"
params:
back_link: /#about-me
--- ---
{{< about-me >}} {{< about-me >}}

View File

@@ -1,12 +1,13 @@
--- ---
title: "Sport Massages in March (Brasil 🇧🇷)" title: "Sport Massages in March (Brasil 🇧🇷)"
layout: "single_training" params:
back_link: /#trainings-calendar
--- ---
Dates: 25th, 26th and 27th March 2025 Dates: 25th, 26th and 27th March 2025
Location: [Hilton Barra Rio de Janeiro](https://maps.app.goo.gl/7nVcR8N4NHm9R3PY6) (Brasil 🇧🇷) Location: [Hilton Barra Rio de Janeiro](https://maps.app.goo.gl/7nVcR8N4NHm9R3PY6) (Brasil 🇧🇷)
#### The Program ### The Program
Duration: 3 Days (24 HOURS) Duration: 3 Days (24 HOURS)

View File

@@ -1,12 +1,13 @@
--- ---
title: "Strapping Expert in March (Brasil 🇧🇷)" title: "Strapping Expert in March (Brasil 🇧🇷)"
layout: "single_training" params:
back_link: /#trainings-calendar
--- ---
Dates: 28th, 29th and 30th March 2025 Dates: 28th, 29th and 30th March 2025
Location: [Hilton Barra Rio de Janeiro](https://maps.app.goo.gl/7nVcR8N4NHm9R3PY6) (Brasil 🇧🇷) Location: [Hilton Barra Rio de Janeiro](https://maps.app.goo.gl/7nVcR8N4NHm9R3PY6) (Brasil 🇧🇷)
#### The Program ### The Program
Duration: 3 Days (24 HOURS) Duration: 3 Days (24 HOURS)

View File

@@ -1,5 +1,7 @@
--- ---
title: "About Me" title: "About Me"
params:
back_link: /#about-me
--- ---
{{< about-me >}} {{< about-me >}}

View File

@@ -1,12 +1,13 @@
--- ---
title: "Massage du Sportif en mars (Brésil 🇧🇷)" title: "Massage du Sportif en mars (Brésil 🇧🇷)"
layout: "single_training" params:
back_link: /#trainings-calendar
--- ---
Dates : le 25, 26 et 27 Mars 2025 Dates : le 25, 26 et 27 Mars 2025
Lieu : [Hilton Barra Rio de Janeiro](https://maps.app.goo.gl/7nVcR8N4NHm9R3PY6) (Brésil 🇧🇷) Lieu : [Hilton Barra Rio de Janeiro](https://maps.app.goo.gl/7nVcR8N4NHm9R3PY6) (Brésil 🇧🇷)
#### Le Programme ### Le Programme
Durée: 3 jours (24H) Durée: 3 jours (24H)

View File

@@ -1,12 +1,13 @@
--- ---
title: "Strapping Expert en mars (Brésil 🇧🇷)" title: "Strapping Expert en mars (Brésil 🇧🇷)"
layout: "single_training" params:
back_link: /#trainings-calendar
--- ---
Dates : le 28, 29 et 30 Mars 2025 Dates : le 28, 29 et 30 Mars 2025
Lieu : [Hilton Barra Rio de Janeiro](https://maps.app.goo.gl/7nVcR8N4NHm9R3PY6) (Brésil 🇧🇷) Lieu : [Hilton Barra Rio de Janeiro](https://maps.app.goo.gl/7nVcR8N4NHm9R3PY6) (Brésil 🇧🇷)
#### Le Programme ### Le Programme
Durée: 3 jours (24H) Durée: 3 jours (24H)

View File

@@ -24,11 +24,17 @@
{{ end }} {{ end }}
</div> </div>
{{ end }} {{ end }}
</div> {{ $back_to_home := .Site.Params.back_to_home }}
<div id="site-menu" class="inner"> {{ $back_link := "/" | relLangURL}}
{{ with .Site.Params.back_to_home }} {{ with .Parent }}
<a class='btn site-menu' href='{{ "/#trainings-calendar" | relURL }}'><i class="fa fa-angle-left"></i>&nbsp;{{ . }}</a> {{ $back_link = .RelPermalink | relLangURL }}
{{ end }} {{ end }}
{{ with .Param "back_link" }}
{{ $back_link = . | relLangURL }}
{{ end }}
<div id="site-menu" class="inner">
<a class='btn site-menu' href='{{ $back_link }}'><i class="fa fa-angle-left"></i>&nbsp;{{ $back_to_home }}</a>
</div>
</div> </div>
</div> </div>
</header> </header>

View File

@@ -44,35 +44,35 @@ h3,h4,h5,h6 {
} }
h1 { h1 {
font-size: 5rem; font-size: 4rem;
line-height: 1.2em; line-height: 1.2em;
letter-spacing: -2px; letter-spacing: -2px;
text-indent: -3px; text-indent: -3px;
} }
h2 { h2 {
font-size: 4rem; font-size: 3rem;
line-height: 1.2em; line-height: 1.2em;
letter-spacing: -1px; letter-spacing: -1px;
text-indent: -2px; text-indent: -2px;
} }
h3 { h3 {
font-size: 3.5rem;
}
h4 {
font-size: 3rem;
}
h5 {
font-size: 2.5rem; font-size: 2.5rem;
} }
h6 { h4 {
font-size: 2rem; font-size: 2rem;
} }
h5 {
font-size: 1.5rem;
}
h6 {
font-size: 1rem;
}
p{ p{
margin: 1em 0; margin: 1em 0;
} }

View File

@@ -19,7 +19,7 @@ body {
} }
#site-page-head { #site-page-head {
height: 0%; height: 0% !important;
} }
#site-head.withCenteredImage{ #site-head.withCenteredImage{