1
Fork 0

Allow hiding header images

This commit is contained in:
Jake Howard 2017-12-27 23:24:37 +00:00
parent fb63c3395f
commit 7221790c09
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 3 additions and 2 deletions

View file

@ -2,6 +2,7 @@
title: Make QT look less ugly
date: 2017-12-27
image: /img/qt-gtk-after.png
hide_header_image: true
---
As anyone who's used an application written with the QT UI framework will know, they don't always look the best, and certainly don't fit in with the rest of your desktops theme in the way GTK does. Certain themes support styling both GTK and QT applications, however most don't.

View file

@ -1,6 +1,6 @@
{{ if .Params.image }}
{{ if .Params.image }}{{ if not .Params.hide_header_image }}
<div class="mb-3 image header-image" data-image="{{ .Params.image }}"></div>
{{ end }}
{{ end }}{{ end }}
{{ partial "breadcrumbs/index.html" . }}
<h1 class="display-5">{{ .Title }}</h1>
<h5 class="my-3">{{ partial "subtitle.html" . }}</h5>