1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +02:00
echo/website/layouts/partials/menu.html
Vishal Rana 5a71f202f5 Updated docs, fixed #225.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-02 11:24:59 -07:00

18 lines
435 B
HTML

<aside class="menu">
<div>
{{ range .Site.Menus.main }}
{{ if .HasChildren }}
<h4>
{{ .Pre }}
{{ .Name }}
</h4>
{{ range .Children }}
<a href="{{ .URL }}">
{{ .Name }}
</a>
{{ end }}
{{ end }}
{{ end }}
</div>
</aside>