diff --git a/config.toml b/config.toml index c3883ca..a4a71ea 100644 --- a/config.toml +++ b/config.toml @@ -22,22 +22,15 @@ paginate = 5 [[menu.main]] identifier="about" name = "About" - url = "/en/#about" + url = "/en/#home-introduction" weight = 10 [[menu.main]] identifier="services" name = "Services" - url = "/en/#services" + url = "/en/#home-bottom" weight = 20 -[[menu.main]] - identifier="services-introduction" - name = "Introduction" - url = "/en/#services" - weight = 11 - parent = "services" - [[menu.main]] identifier="brainminder" name = "BrainMinder" @@ -101,22 +94,15 @@ paginate = 5 [[languages.it.menu.main]] identifier="about" name = "Presentazione" - url = "/#about" + url = "/#home-introduction" weight = 10 [[languages.it.menu.main]] identifier="services" name = "Servizi" - url = "/#services" + url = "/#home-bottom" weight = 20 - [[languages.it.menu.main]] - identifier="services-introduction" - name = "Introduzione" - url = "/#services" - weight = 11 - parent = "services" - [[languages.it.menu.main]] identifier="brainminder" name = "BrainMinder" diff --git a/layouts/service/single.html b/layouts/service/single.html index b7be5bc..ef242dc 100644 --- a/layouts/service/single.html +++ b/layouts/service/single.html @@ -6,6 +6,7 @@ {{ partial "nav.html" . }} +
@@ -51,6 +52,7 @@ {{ end }}
+
{{ partial "footer.html" . }} diff --git a/static/css/custom.css b/static/css/custom.css index c7ae355..bedf1a8 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -51,6 +51,10 @@ --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M10.616 16.077H7.077q-1.692 0-2.884-1.192T3 12t1.193-2.885t2.884-1.193h3.539v1H7.077q-1.27 0-2.173.904Q4 10.731 4 12t.904 2.173t2.173.904h3.539zM8.5 12.5v-1h7v1zm4.885 3.577v-1h3.538q1.27 0 2.173-.904Q20 13.269 20 12t-.904-2.173t-2.173-.904h-3.538v-1h3.538q1.692 0 2.885 1.192T21 12t-1.193 2.885t-2.884 1.193z'/%3E%3C/svg%3E"); } +#home-introduction { + text-align: justify; +} + .service { display: flex; margin-top: 10px; diff --git a/themes/lean/layouts/index.html b/themes/lean/layouts/index.html index 769aa75..9f0f075 100644 --- a/themes/lean/layouts/index.html +++ b/themes/lean/layouts/index.html @@ -5,6 +5,7 @@ {{ partial "nav.html" . }} {{ partial "home-banner.html" . }} +
{{ with (index .Site.Data.introduction .Site.Language.Lang).home }}
@@ -17,6 +18,7 @@
{{ end }} {{ partial "home-bottom.html" . }} +
{{ partial "footer.html" . }} diff --git a/themes/lean/layouts/partials/nav.html b/themes/lean/layouts/partials/nav.html index 9c98372..85afb79 100644 --- a/themes/lean/layouts/partials/nav.html +++ b/themes/lean/layouts/partials/nav.html @@ -4,21 +4,18 @@ SpeedTech - -
+