mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Bud Parr
19.45.2017 ee265de976880f7cb08b30c431d0e081849d0ba9
layouts/partials/site-header.html
@@ -1,6 +1,8 @@
{{ $featured_image := $.Param "featured_image" }}
{{ $featured_image := .Params.featured_image | default .Site.Params.featured_image }}
{{ if $featured_image }}
  <header class="cover bg-center" style="background-image: url('{{ $featured_image | absURL }}');">
  {{/* 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-center" style="background-image: url('{{ $featured_image }}');">
    <div class="bg-black-60">
      {{ partial "site-navigation.html" .}}
      <div class="tc-l pv4 pv6-l ph3 ph4-ns">