diff options
Diffstat (limited to '_includes/views')
-rw-r--r-- | _includes/views/banner.html | 14 | ||||
-rw-r--r-- | _includes/views/post-header.html | 2 |
2 files changed, 15 insertions, 1 deletions
diff --git a/_includes/views/banner.html b/_includes/views/banner.html index 32bb3cd..f26d06f 100644 --- a/_includes/views/banner.html +++ b/_includes/views/banner.html @@ -49,6 +49,20 @@ } </style> {% endif %} + {%- if banner_heading_style -%} + <style> + html .page-banner .page-banner-inner > *:first-child > *:nth-child(1) { + {{ banner_heading_style }} + } + </style> + {%- endif -%} + {%- if banner_subheading_style -%} + <style> + html .page-banner .page-banner-inner > *:first-child > *:nth-child(2) { + {{ banner_subheading_style }} + } + </style> + {%- endif -%} <section class="page-banner"> <div class="page-banner-img"> <div style="background-image: url({{ banner_image }})"></div> diff --git a/_includes/views/post-header.html b/_includes/views/post-header.html index e59fd91..d5e3db3 100644 --- a/_includes/views/post-header.html +++ b/_includes/views/post-header.html @@ -1,6 +1,6 @@ <header class="post-header"> <h1 class="post-title p-name" itemprop="name headline">{{ heading | default: page.title | escape }}</h1> - <h3 class="post-subtitle">{{ subheading | default: page.subtitle | escape }}</h3> + <h2 class="post-subtitle">{{ subheading | default: page.subtitle | escape }}</h2> <p class="post-meta"> <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished"> |