update navbar for mobile

This commit is contained in:
gangjun06 2020-08-14 19:29:16 +00:00
parent 94f47a446c
commit 6ebff61bb9
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<nav>
<nav class="pl-4 md:pl-24">
<a href="/" class="logo">{{ .Site.Title }}</a>
<ul>
<ul class="hidden md:flex">
{{ range .Site.Menus.main }}
<li>
<a href="{{ .URL }}">{{ .Name }}</a>
@ -8,4 +8,4 @@
{{end}}
</ul>
</nav>
<section class="banner"></section>
<section class="banner"></section>