From 6d88b28c14979059df16cec340de783d8b536c1c Mon Sep 17 00:00:00 2001 From: "C. Lente" <7017340+clente@users.noreply.github.com> Date: Thu, 9 Feb 2023 17:31:27 -0300 Subject: [PATCH] Use site.Home.Permalink instead of param --- exampleSite/config.toml | 8 ++++---- layouts/partials/header.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 1541258..fc2c0f9 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -28,16 +28,16 @@ DefaultContentLanguage = "en" contentDir = "content" weight = 1 [languages.en.params] - home = '/' - madeWith = '[Feito de pedra](/posts/sites-de-pedra)' # You can use markdown here if you want to link somewhere + # You can use markdown here if you want to link somewhere + madeWith = '[Feito de pedra](/posts/sites-de-pedra)' [languages.pt] title = "Site Exemplo" languageName = "Português 🇧🇷" contentDir = "content.pt" weight = 2 [languages.pt.params] - home = '/pt' - madeWith = '[Feito de pedra](/posts/sites-de-pedra)' # You can use markdown here if you want to link somewhere + # You can use markdown here if you want to link somewhere + madeWith = '[Feito de pedra](/posts/sites-de-pedra)' [params] # The "description" of your website. This is used in the meta data of your generated html. diff --git a/layouts/partials/header.html b/layouts/partials/header.html index f8e3fd8..dc82280 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,2 +1,2 @@ -

{{ .Site.Title }}

+

{{ .Site.Title }}