From 3e561e96721746c47ec950d18453371a32a80d70 Mon Sep 17 00:00:00 2001 From: saadnpq Date: Sat, 11 Apr 2020 16:27:29 +0200 Subject: [PATCH] support default example site --- layouts/partials/aside.html | 9 ++++++++- static/css/style.css | 21 +++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/layouts/partials/aside.html b/layouts/partials/aside.html index 8df3e9a..655fe6e 100644 --- a/layouts/partials/aside.html +++ b/layouts/partials/aside.html @@ -3,7 +3,14 @@ {{if eq .Site.Params.useAvatar true}} avatar {{end}} - {{ .Site.Title | safeHTML }} + + + {{with .Site.Params.logo}} + {{ . | safeHTML }} + {{else}} + {{ .Site.Title }} + {{end}} +