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

Bjørn Erik Pedersen
23.36.2017 7b5196ad18b65ead0ec3157d28aaf3a0b02b0a30
layouts/partials/site-header.html
@@ -1,4 +1,4 @@
{{ $featured_image := .Params.featured_image }}
{{ $featured_image := .Param "featured_image" | default "images/gohugo-default-sample-hero-image.jpg" }}
{{ 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 }}