mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-19 00:52:19 +01:00
Used different syntax for accessing site parameters.
This commit is contained in:
parent
f99cc47ef0
commit
2a142a8dc9
@ -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