Skip to content

Commit

Permalink
fix: mobile navigation when param (mobileNavigation) isn't set chipzo…
Browse files Browse the repository at this point in the history
…ller#164

Signed-off-by: weru <fromweru@gmail.com>
  • Loading branch information
onweru committed Apr 25, 2021
1 parent 2c1399b commit 70b8924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{{- else }}
{{- partialCached "logo" (dict "logo" $logo) }}
{{- end }}
<div class='nav_body nav_body_{{ $params.mobileNavigation }}'>
<div class='nav_body nav_body_{{ default "left" $params.mobileNavigation }}'>
{{ $context := . }}
{{ $menuData := .Site.Data.menu }}
{{ with $menuData }}
Expand Down

0 comments on commit 70b8924

Please sign in to comment.