Title
Returns the
title property of the given menu entry.- Syntax
- MENUENTRY.Title
- Returns
- string
The Title method returns the title property of the given menu entry. If the title is not defined, and the menu entry resolves to a page, the Title returns the page Title.
<ul>
{{ range .Site.Menus.main }}
<li><a href="{{ .URL }}" title="{{ .Title }}>{{ .Name }}</a></li>
{{ end }}
</ul>Last updated:
June 18, 2026
:
Merge commit 'c86d9f4aa8a58931f52df6516f10b67c807505fb' (be780afa7)
Improve this page