mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-25 03:34:29 +01:00
Used different syntax for accessing site parameters.
This commit is contained in:
parent
4721b523ca
commit
4a846731ee
@ -47,7 +47,7 @@
|
||||
{{ end }}
|
||||
|
||||
{{ block "header" . }}
|
||||
{{ if (ne ($.Param "header_visible") false) }}
|
||||
{{ if (ne .Site.Params.header_visible false) }}
|
||||
<header class="blog-header">
|
||||
<div class="container">
|
||||
<h1 class="blog-title"><a href="{{ .Site.BaseURL }}" rel="home">{{ .Site.Title | safeHTML }}</a></h1>
|
||||
|
Loading…
Reference in New Issue
Block a user