From 0c03b641389078fa7d919361410b675f9855a018 Mon Sep 17 00:00:00 2001 From: lafleur Date: Sun, 15 Nov 2020 13:53:52 +0100 Subject: [PATCH] add support for /assets/img/titre.png --- layouts/partials/header.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 809248a..1c232e4 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,7 +1,13 @@ {{ $currentPage := . }}

- {{ .Site.Title }} + {{ with resources.Get "img/titre.png" }} + + + + {{ else }} + {{ .Site.Title }} + {{ end }}

{{ with $.Site.Params.Description }} {{ . }}