summaryrefslogtreecommitdiff
path: root/_includes/views
diff options
context:
space:
mode:
authorjeffreytse <jeffreytse.mail@gmail.com>2021-06-17 21:07:40 +0800
committerjeffreytse <jeffreytse.mail@gmail.com>2021-06-17 21:07:40 +0800
commit325912a0eb0577e09c9de80f6361c3bfffc4c628 (patch)
treeac1c258e9171d449b8a35f7e6376f231d91131f9 /_includes/views
parentaa4d10655ec7458768ae60aefcf052b7d0246c2d (diff)
fix: config of banner background not working
Diffstat (limited to '_includes/views')
-rw-r--r--_includes/views/banner.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/_includes/views/banner.html b/_includes/views/banner.html
index 4b5f5c0..d70c3a7 100644
--- a/_includes/views/banner.html
+++ b/_includes/views/banner.html
@@ -16,6 +16,13 @@
{%- include functions.html func='get_banner' -%}
{% if banner_image %}
+ {% if banner_background %}
+ <style>
+ html .page-banner {
+ background: {{ banner_background }};
+ }
+ </style>
+ {% endif %}
{% if banner_height %}
<style>
html .page-banner {