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