diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-10-21 10:52:23 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-10-21 10:52:23 +0200 |
commit | de8ca7e4d4313ce84f4c97bbdcea83f871f9e3c9 (patch) | |
tree | 6b55cf176030fbb5091f04a424674d3114db9ff1 /docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/nav-links-global-mobile.html | |
parent | ec5962278f394654fd17df35bbfceb19702553dd (diff) | |
parent | 5ac0f751aa47e52625662215f66efa99a6abfc2e (diff) |
Merge commit '5ac0f751aa47e52625662215f66efa99a6abfc2e'
Diffstat (limited to 'docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/nav-links-global-mobile.html')
-rw-r--r-- | docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/nav-links-global-mobile.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/nav-links-global-mobile.html b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/nav-links-global-mobile.html new file mode 100644 index 000000000..4a1631d96 --- /dev/null +++ b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/nav-links-global-mobile.html @@ -0,0 +1,11 @@ +{{ $currentPage := . }} +{{ $menu := .Site.Menus.global }} +<ul class="list hidden dib ph0 ma0 scrolling-touch tc"> + {{ range $menu }} + <li class="tl dib ma0 hover-bg-black w-100"> + <a href="{{.URL}}" class="ttu f6 link primary-color-light overflow hover-white db brand-font ma0 w-100 pv3 ph4{{if $currentPage.IsMenuCurrent "main" . }} bg-primary-color{{end}}"> + {{ .Name }} + </a> + </li> + {{end}} +</ul> |