mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-24 13:10:18 +01:00
layouts: Allow hiding the sidebar
Set the following parameter to hide the sidebar: [params.sidebar] hide = true
This commit is contained in:
parent
6ccdf9a438
commit
bfaa9ac247
@ -6,7 +6,9 @@
|
||||
{{ end }}
|
||||
</div> <!-- /.blog-main -->
|
||||
|
||||
{{ partial "sidebar.html" . }}
|
||||
{{ if not .Site.Params.sidebar.hide }}
|
||||
{{ partial "sidebar.html" . }}
|
||||
{{ end }}
|
||||
|
||||
</div> <!-- /.row -->
|
||||
</div> <!-- /.container -->
|
||||
|
Loading…
Reference in New Issue
Block a user