From 4ed15c8096764c75a97ef858bb3a4c0d784fe888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Thu, 24 Oct 2024 14:53:02 +0200 Subject: [PATCH] docs: honing #423 --- exampleSite/content/authoring/frontmatter/menu/_index.en.md | 1 + layouts/partials/version.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/exampleSite/content/authoring/frontmatter/menu/_index.en.md b/exampleSite/content/authoring/frontmatter/menu/_index.en.md index c0ca7ebaf2..2ad15ebefc 100644 --- a/exampleSite/content/authoring/frontmatter/menu/_index.en.md +++ b/exampleSite/content/authoring/frontmatter/menu/_index.en.md @@ -96,6 +96,7 @@ linkTitle = 'Linux' {{% badge color="blueviolet" icon="bars" title=" " %}}Menu{{% /badge %}} For Hugo menus, add a `pre` to insert any HTML code before the menu label. You can also set `post` to insert HTML code after the menu label. +If `pageRef` is set for the menu entry and no `pre` or `post` was configured, `menuPre` and `menuPost` of the referenced page will be taken. The example below uses the GitHub icon for an entry of a page menu. diff --git a/layouts/partials/version.txt b/layouts/partials/version.txt index ebdb2f570c..efff2c4d70 100644 --- a/layouts/partials/version.txt +++ b/layouts/partials/version.txt @@ -1 +1 @@ -7.0.1+d6f35f44f6af3134e45d7060b58445931c810269 \ No newline at end of file +7.0.1+fef9c630c4745054041e7a5bcd4e7a608c224308 \ No newline at end of file