From 20c7cbfe1fd7d38e1e988c4e67afe90d8bc8a758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sat, 21 Oct 2023 02:27:44 +0200 Subject: [PATCH] config: swtich to position independend config syntax #693 #694 --- exampleSite/config/_default/config.toml | 3 +-- exampleSite/content/basics/migration/_index.en.md | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/exampleSite/config/_default/config.toml b/exampleSite/config/_default/config.toml index eb973455b5..295814e678 100644 --- a/exampleSite/config/_default/config.toml +++ b/exampleSite/config/_default/config.toml @@ -212,6 +212,7 @@ title = "Hugo Relearn Theme" images = ["images/hero.png"] editURL = "https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/" description = "Documentation for Hugo Relearn Theme" + author.name = "Sören Weber" showVisitedLinks = true collapsibleMenu = true disableBreadcrumb = false @@ -232,8 +233,6 @@ title = "Hugo Relearn Theme" # security reasons mermaidInitialize = "{ \"securityLevel\": \"loose\" }" mermaidZoom = true - [params.author] - name = "Sören Weber" [params.siteparam.test] text = "A **nested** parameter with formatting" [params.imageEffects] diff --git a/exampleSite/content/basics/migration/_index.en.md b/exampleSite/content/basics/migration/_index.en.md index 857fadeb59..874a657491 100644 --- a/exampleSite/content/basics/migration/_index.en.md +++ b/exampleSite/content/basics/migration/_index.en.md @@ -33,8 +33,7 @@ This document shows you what's new in the latest release. For a detailed list of ````toml [params] - [params.author] - name = "Hugo" + author.name = "Hugo" ````