Merge cf3bc0e41b14465597242e0ea83463893ca2edda into fd10f6e9917d673d67f609fa3eadaf6c9ba5851d

This commit is contained in:
Bjørn Erik Pedersen 2017-04-19 14:37:00 +00:00 committed by GitHub
commit 8613403e60
8 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,6 @@
---
date: 2017-04-10T11:00:59-04:00
description: "Pierre Gringoire"
featured_image: ""
tags: []
title: "Chapter II: Pierre Gringoire"
---

View File

@ -1,7 +1,6 @@
---
date: 2017-04-11T11:13:32-04:00
description: "Monsieur the Cardinal"
featured_image: ""
tags: []
title: "Chapter III: Monsieur the Cardinal"
---

View File

@ -1,7 +1,6 @@
---
date: 2017-04-12T11:14:48-04:00
description: "Master Jacques Coppenole"
featured_image: ""
tags: ["scene"]
title: "Chapter IV: Master Jacques Coppenole"
---

View File

@ -1,7 +1,6 @@
---
date: 2017-04-13T11:15:58-04:00
description: "Quasimodo"
featured_image: ""
tags: []
title: "Chapter V: Quasimodo"
---

View File

@ -1,6 +1,7 @@
{{ $featured_image := $.Param "featured_image" }}
{{ if $featured_image }}
<header class="cover bg-center" style="background-image: url('{{ $featured_image | absURL }}');">
{{ $featured_image := (trim $featured_image "/") | absURL }}
<header class="cover bg-center" style="background-image: url('{{ $featured_image }}');">
<div class="pb3-m pb6-l bg-black-60">
{{ partial "site-navigation.html" . }}
<div class="tc-l pv6 ph3 ph4-ns">

View File

@ -1,6 +1,7 @@
{{ $featured_image := $.Param "featured_image" }}
{{ if $featured_image }}
<header class="cover bg-center" style="background-image: url('{{ $featured_image | absURL }}');">
{{ $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">

View File

@ -3,7 +3,8 @@
<div class="flex flex-column flex-row-ns">
{{ if .Params.featured_image }}
<div class="pr3-ns mb4 mb0-ns w-100 w-40-ns">
<img src="{{ .Params.featured_image }}" class="db" alt="image from {{ .Title }}">
{{ $imgURL := (trim .Params.featured_image "/") | absURL }}
<img src="{{ $imgURL }}" class="db" alt="image from {{ .Title }}">
</div>
{{ end }}
<div class="w-100{{ if .Params.featured_image }} w-60-ns pl3-ns{{ end }}">

View File

@ -3,7 +3,8 @@
<div class="flex flex-column flex-row-ns">
{{ if .Params.featured_image }}
<div class="pr3-ns mb4 mb0-ns w-100 w-40-ns">
<img src="{{ .Params.featured_image }}" class="db" alt="image from {{ .Title }}">
{{ $imgURL := (trim .Params.featured_image "/") | absURL }}
<img src="{{ $imgURL }}" class="db" alt="image from {{ .Title }}">
</div>
{{ end }}
<div class="w-100{{ if .Params.featured_image }} w-60-ns pl3-ns{{ end }}">