mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-25 06:10:40 +00:00
hide empty page header on mobile view
This commit is contained in:
parent
7abcc895a0
commit
a5c72664f2
@ -16,7 +16,7 @@
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
||||
<div class="gdoc-page__header flex justify-between" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
|
||||
<div class="gdoc-page__header flex justify-between{{ if not $geekdocRepo }} hidden-mobile{{ end }}" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
|
||||
{{$showBreadcrumb := (and (not .Page.Params.geekdocBreadcrumb) (not .Site.Params.geekdocBreadcrumb))}}
|
||||
<span>
|
||||
{{if $showBreadcrumb}}
|
||||
|
@ -457,7 +457,7 @@ img {
|
||||
}
|
||||
}
|
||||
|
||||
.gdoc-page__header .breadcrumb {
|
||||
.gdoc-page__header .breadcrumb, .hidden-mobile {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user