From cd09f253f6ece26d6a2d2db10dcbb8898bbc5643 Mon Sep 17 00:00:00 2001
From: Andrey Romancev <andrey@romancev.com>
Date: Wed, 14 Nov 2018 21:02:29 +0000
Subject: [PATCH] Make cover dimming class customisable. (#140)
---
layouts/partials/site-header.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/partials/site-header.html b/layouts/partials/site-header.html
index 0b9649e..10a682f 100755
--- a/layouts/partials/site-header.html
+++ b/layouts/partials/site-header.html
@@ -3,7 +3,7 @@
{{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}}
{{ $featured_image := (trim $featured_image "/") | absURL }}
<header class="cover bg-top" style="background-image: url('{{ $featured_image }}');">
- <div class="bg-black-60">
+ <div class="{{ .Site.Params.cover_dimming_class | default "bg-black-60" }}">
{{ partial "site-navigation.html" .}}
<div class="tc-l pv4 pv6-l ph3 ph4-ns">
<h1 class="f2 f-subheadline-l fw2 white-90 mb0 lh-title">
--
Gitblit v1.10.0