1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-19 09:02: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
parent f99cc47ef0
commit 2a142a8dc9
No known key found for this signature in database
GPG Key ID: 097BA5071395C7EE

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>