diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 12bc958d60..b36a1b0e35 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -92,7 +92,6 @@ title = "Hugo Relearn Documentation" title = "Hugo Relearn Theme" weight = 1 languageName = "English" - landingPageURL = "/" landingPageName = " Home" [[Languages.en.menu.shortcuts]] @@ -132,7 +131,6 @@ title = "Hugo Relearn Documentation" title = "Cap'n Hugo Relearrrn Theme" weight = 1 languageName = "Arrr! ☠ Pirrrates ☠" - landingPageURL = "/pir/" landingPageName = " Arrr! Home" [[Languages.pir.menu.shortcuts]] diff --git a/exampleSite/content/basics/configuration/_index.en.md b/exampleSite/content/basics/configuration/_index.en.md index ef444cdb13..6e35bdd5ce 100644 --- a/exampleSite/content/basics/configuration/_index.en.md +++ b/exampleSite/content/basics/configuration/_index.en.md @@ -139,12 +139,10 @@ appearance, you will have to configure two parameters for the defined languages: [Languages] [Languages.en] ... -landingPageURL = "/" landingPageName = " Home" ... [Languages.pir] ... -landingPageURL = "/pir/" landingPageName = " Arrr! Homme" ... ``` @@ -153,7 +151,6 @@ If those params are not configured for a specific language, they will get their default values: ```toml -landingPageURL = "/" landingPageName = " Home" ``` diff --git a/exampleSite/content/basics/migration/_index.en.md b/exampleSite/content/basics/migration/_index.en.md index bc3132c535..9a8b796bf1 100644 --- a/exampleSite/content/basics/migration/_index.en.md +++ b/exampleSite/content/basics/migration/_index.en.md @@ -22,6 +22,8 @@ This document shows you what's new in the latest release. For a detailed list of - **Change**: Previously, if the [`tabs` shortcode]({{% relref "shortcodes/tabs" %}}) could not find a tab item because, the tabs ended up empty. Now the first tab is selected instead. +- **Change**: The `landingPageURL` was removed from `config.toml`. You can savely remove this aswell from your configuration as it is not used anymore. The theme will detect the landing page URL automatically. + - **New**: All shortcodes can now be also called from your partials. Examples for this are added to the documentation of each shortcode. ## 4.1.0 diff --git a/layouts/partials/logo.html b/layouts/partials/logo.html index 080da0074e..3fbde880ee 100644 --- a/layouts/partials/logo.html +++ b/layouts/partials/logo.html @@ -48,7 +48,7 @@ } } -