Allow hiding header images
This commit is contained in:
parent
fb63c3395f
commit
7221790c09
2 changed files with 3 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
||||||
title: Make QT look less ugly
|
title: Make QT look less ugly
|
||||||
date: 2017-12-27
|
date: 2017-12-27
|
||||||
image: /img/qt-gtk-after.png
|
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.
|
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.
|
||||||
|
|
|
@ -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>
|
<div class="mb-3 image header-image" data-image="{{ .Params.image }}"></div>
|
||||||
{{ end }}
|
{{ end }}{{ end }}
|
||||||
{{ partial "breadcrumbs/index.html" . }}
|
{{ partial "breadcrumbs/index.html" . }}
|
||||||
<h1 class="display-5">{{ .Title }}</h1>
|
<h1 class="display-5">{{ .Title }}</h1>
|
||||||
<h5 class="my-3">{{ partial "subtitle.html" . }}</h5>
|
<h5 class="my-3">{{ partial "subtitle.html" . }}</h5>
|
||||||
|
|
Loading…
Reference in a new issue