From 6816ff066662fe187ad7326b0610544ba6a73f72 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Mon, 16 Aug 2021 17:42:52 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20author=20image=20URLs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exampleSite/config.toml | 2 +- layouts/partials/author.html | 2 +- layouts/partials/home/profile.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 72d7e926..97990d99 100755 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -15,7 +15,7 @@ enableEmoji = true [author] name = "Congo" - image = "/img/author.jpg" + image = "img/author.jpg" links = [ { twitter = "https://twitter.com/" }, { facebook = "https://facebook.com/" }, diff --git a/layouts/partials/author.html b/layouts/partials/author.html index 2715e544..befd7805 100644 --- a/layouts/partials/author.html +++ b/layouts/partials/author.html @@ -1,7 +1,7 @@ {{ if .Params.showAuthor | default (.Site.Params.article.showAuthor | default true) }}
{{ with .Site.Author.image }} - + {{ end }}
{{ with .Site.Author.name }} diff --git a/layouts/partials/home/profile.html b/layouts/partials/home/profile.html index 6af33fcb..31626cef 100644 --- a/layouts/partials/home/profile.html +++ b/layouts/partials/home/profile.html @@ -8,7 +8,7 @@ >
{{ with .Site.Author.image }} - + {{ end }}

{{ .Site.Author.name | default .Site.Title }}