diff --git a/README.md b/README.md index 8c4ab24..f10c246 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ These are some parameters you can use in your `config.toml` to customize Ficurin baseURL = "https://example.com/" theme = "hugo-ficurinia" title = "My nice blog" +languageCode = "en" +defaultContentLanguage = "en" # this will be included in the footer after the current year the site is last # built, followed by the (c) symbol diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 54da3cf..ec073c1 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,5 @@ - + {{- partial "head.html" . -}}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 374c2fb..20f5413 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -4,7 +4,7 @@ if (location.host != new URL("{{ .Site.BaseURL }}").host) location.href = "{{ .Site.BaseURL }}" {{ end }} - + diff --git a/layouts/partials/iconlink.html b/layouts/partials/iconlink.html index 46b789a..bd93b85 100644 --- a/layouts/partials/iconlink.html +++ b/layouts/partials/iconlink.html @@ -1,6 +1,8 @@ {{ if eq (lower (index . 0)) "gitlab" }}