mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 18:15:45 +00:00
588 B
588 B
title, description, categories, keywords, params
| title | description | categories | keywords | params | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Title | Returns the `title` property of the given menu entry. |
|
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>