Add main menu validation

This commit is contained in:
vimux 2018-05-10 08:40:56 +03:00
parent b991eb810a
commit 56e5a76dbe
No known key found for this signature in database
GPG key ID: 5A34FDC4EE832E34

View file

@ -1,3 +1,4 @@
{{- if .Site.Menus.main }}
<nav class="main-nav" role="navigation">
<button id="toggle" class="main-nav__btn" aria-expanded="false">
<svg class="main-nav__btn-icon icon-menu" width="18" height="18" viewBox="0 0 18 18">
@ -13,4 +14,5 @@
{{- end }}
{{- end }}
</ul>
</nav>
</nav>
{{- end }}