| layouts/partials/page-header.html | ●●●●● patch | view | raw | blame | history | |
| layouts/partials/site-header.html | ●●●●● patch | view | raw | blame | history |
layouts/partials/page-header.html
@@ -1,8 +1,10 @@ {{ $featured_image := partial "func/GetFeaturedImage.html" . }} {{ if $featured_image }} {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} <header class="{{ .Params.featured_image_class | .Site.Params.featured_image_class | default "cover bg-top" }}" style="background-image: url('{{ $featured_image }}');"> <div class="{{ .Params.cover_dimming_class | .Site.Params.cover_dimming_class | default "bg-black-60" }}"> {{ $featured_image_class := .Params.featured_image_class | default "cover bg-center" }} {{ $cover_dimming_class := .Params.cover_dimming_class | default "bg-black-60" }} <header class="{{ $featured_image_class }}" style="background-image: url('{{ $featured_image }}');"> <div class="{{ $cover_dimming_class }}"> {{ partial "site-navigation.html" . }} <div class="tc-l pv6 ph3 ph4-ns"> {{ if not .Params.omit_header_text }} layouts/partials/site-header.html
@@ -1,8 +1,10 @@ {{ $featured_image := partial "func/GetFeaturedImage.html" . }} {{ if $featured_image }} {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} <header class="{{ .Site.Params.featured_image_class | default "cover bg-top" }}" style="background-image: url('{{ $featured_image }}');"> <div class="{{ .Site.Params.cover_dimming_class | default "bg-black-60" }}"> {{ $featured_image_class := site.Params.featured_image_class | default "cover bg-top" }} <header class="{{ $featured_image_class }}" style="background-image: url('{{ $featured_image }}');"> {{ $cover_dimming_class := site.Params.cover_dimming_class | default "bg-black-60" }} <div class="{{ $cover_dimming_class }}"> {{ 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">