1
0
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:
Cosmin Humeniuc 2018-08-28 16:50:21 +03:00 committed by Alan Orth
parent 4721b523ca
commit 4a846731ee
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -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>