What are some usage examples for .Pre
?
Here is an exemple of .Pre
: Menus | Hugo
[menu]
[[menu.main]]
identifier = 'about'
name = 'about hugo'
pre = "<i class='fa fa-heart'></i>"
url = '/about/'
weight = -110
1 Like
Adding icons before menus?
1 Like
Yes. In this example, add an icon with Font Awesome.
.Pre
and .Post
lost a lot sense with the addition of Menu .Params
2 Likes
I wanted to raise the same point because I just stumbled upon Menu Params.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.