From 3b98d3ba051f64c52ba6a21125b2016a61e6edc3 Mon Sep 17 00:00:00 2001 From: Jimmy Cai Date: Thu, 20 Jan 2022 11:38:16 +0100 Subject: [PATCH] feat(sidebar): link avatar to homepage (#465) closes https://github.com/CaiJimmy/hugo-theme-stack/issues/399 --- layouts/partials/sidebar/left.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/partials/sidebar/left.html b/layouts/partials/sidebar/left.html index db05480..4442dfe 100644 --- a/layouts/partials/sidebar/left.html +++ b/layouts/partials/sidebar/left.html @@ -9,6 +9,7 @@ {{ with .Site.Params.sidebar.avatar }} {{ if (default true .enabled) }}
+ {{ if not .local }} {{ else }} @@ -22,7 +23,7 @@ {{ errorf "Failed loading avatar from %q" . }} {{ end }} {{ end }} - + {{ with $.Site.Params.sidebar.emoji }} {{ . }} {{ end }}