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

Regis Philibert
09.05.2022 b89cd62afb84dd00e7eebfc7d7c13e4b8dcd59b7
layouts/partials/page-header.html
@@ -1,7 +1,6 @@
{{ $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 */}}
  {{ $featured_image := (trim $featured_image "/") | absURL }}
  <header class="cover bg-top" style="background-image: url('{{ $featured_image }}');">
    <div class="bg-black-60">
      {{ partial "site-navigation.html" . }}