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

18 lines
435 B
HTML
Raw Normal View History

<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>