diff options
author | Michael Romero <halogenica@users.noreply.github.com> | 2022-06-27 01:12:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-27 01:12:30 +0300 |
commit | bf112a8088eeacd2641cbf5c9c5cecc752d0ec60 (patch) | |
tree | 5f624b79f0a844fd20ac69eedce4cb07932bd8bf | |
parent | 02db626c80886c58ec6b575bdc977077f59cfecf (diff) | |
parent | 812cb970062d75a4f31dcbae347de398d694571c (diff) |
Merge pull request #372 from miketoth/btoth/dont-render-empty-title
Don't render header if title is empty
-rw-r--r-- | layouts/partials/header.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 2182534..b6c4c4d 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -53,6 +53,7 @@ <span class="img-desc" style="display: inline;"></span> </div> {{end}} + {{ if $title }} <div class="intro-header no-img"> <div class="container"> <div class="row"> @@ -81,6 +82,7 @@ </div> </div> </div> + {{ end }} </header> {{ else }} <div class="intro-header"></div> |