From 4202350038e54db148f8e5468631f047288e04b0 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 15 Aug 2018 21:24:59 +0100 Subject: [PATCH] Use resource for header image --- content/_index.md | 1 - layouts/index.html | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/content/_index.md b/content/_index.md index d1eaeb3..6267160 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,5 +1,4 @@ --- title: Homepage -image: /img/header.jpg --- Part Developer. Part SysAdmin. Part Hacker. All Nerd! diff --git a/layouts/index.html b/layouts/index.html index 1c7c9a7..a191d2f 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,7 @@ {{ define "main" }} -
+ +{{ $header_image := resources.Get "img/header.jpg" | fingerprint }} +

{{ .Site.Params.author_name }}

{{ .Content }}