Skip to content

Commit 9108f1e

Browse files
markdumayclaude
andcommitted
docs: update navbar examples to use new parameter name
Updates documentation examples to reflect the navbar parameter rename from `menus` to `menu`. This aligns with the refactored navbar API introduced in commit 476a38f. Changes: - Updated navbar shortcode examples in bootstrap-elements.md (EN and FR) - Changed `menus="sample"` to `menu="sample"` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 3b05e7c commit 9108f1e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

exampleSite/content/en/blog/bootstrap-elements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ As an example, the following shortcode displays a light navigation header.
382382

383383
<!-- markdownlint-disable MD037 -->
384384
{{< example lang="hugo" >}}
385-
{{</* navbar id="navbar-sample" path="blog" color="primary" breakpoint="md" search="false" menus="sample" title="Brand" mode="false" */>}}
385+
{{</* navbar id="navbar-sample" path="blog" color="primary" breakpoint="md" search="false" menu="sample" title="Brand" mode="false" */>}}
386386
{{< /example >}}
387387
<!-- markdownlint-enable MD037 -->
388388

exampleSite/content/fr/blog/bootstrap-elements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ Utilisez le shortcode `mark` pour {{</* mark >}}mettre en évidence{{< /mark */>
343343

344344
<!-- markdownlint-disable MD037 -->
345345
{{< example lang="hugo" >}}
346-
{{</* navbar id="navbar-sample" path="blog" color="primary" breakpoint="md" search="false" menus="sample" title="Marque" mode="false" */>}}
346+
{{</* navbar id="navbar-sample" path="blog" color="primary" breakpoint="md" search="false" menu="sample" title="Marque" mode="false" */>}}
347347
{{< /example >}}
348348
<!-- markdownlint-enable MD037 -->
349349

0 commit comments

Comments
 (0)