Skip to content

Commit 57a4cb9

Browse files
eshanrnhgitbook-bot
authored andcommitted
GITBOOK-29: Updated href value in code
1 parent e513928 commit 57a4cb9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

15/umbraco-cms/tutorials/creating-a-basic-website/setting-the-navigation-menu.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22

33
You can set up the navigation menu in two ways:
44

5-
* [Dynamically](#dynamic-navigation):
6-
Umbraco can automatically generate a navigation menu based on the pages in the Content Tree. When you create or modify a page, it will automatically appear in the navigation menu. This dynamic approach eliminates the need to manually add or update menu items when pages are added, removed, or renamed.
7-
* [Hardcoded](#hardcode-navigation):
8-
Alternatively, you can hardcode the navigation menu. However, this approach requires more maintenance, as any changes to the pages—such as adding, removing, or renaming—would need to be manually reflected in the menu.
5+
* [Dynamically](setting-the-navigation-menu.md#dynamic-navigation): Umbraco can automatically generate a navigation menu based on the pages in the Content Tree. When you create or modify a page, it will automatically appear in the navigation menu. This dynamic approach eliminates the need to manually add or update menu items when pages are added, removed, or renamed.
6+
* [Hardcoded](setting-the-navigation-menu.md#hardcode-navigation): Alternatively, you can hardcode the navigation menu. However, this approach requires more maintenance, as any changes to the pages—such as adding, removing, or renaming—would need to be manually reflected in the menu.
97

108
## Dynamic Navigation
119

@@ -52,7 +50,7 @@ var selection = Umbraco.ContentAtRoot().FirstOrDefault()
5250
}
5351
<div class="container">
5452
<nav class="navbar navbar-expand navbar-light">
55-
<a class="navbar-brand font-weight-bold" href="index.html">UmbracoTV</a>
53+
<a class="navbar-brand font-weight-bold" href="/">UmbracoTV</a>
5654
<!-- Links -->
5755
<ul class="navbar-nav">
5856
@foreach (var item in selection)

0 commit comments

Comments
 (0)