From 68a7cbe2011761f96d984c5493c856d93d7aea59 Mon Sep 17 00:00:00 2001 From: nanxiaobei Date: Tue, 19 Jul 2022 03:49:32 +0800 Subject: [PATCH] support 2 types of icons --- layouts/partials/head.html | 6 +++++- layouts/partials/header.html | 6 +++--- static/theme.png | Bin 0 -> 7991 bytes static/theme.svg | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 static/theme.png diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 1ec7cae..59da3ee 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -33,7 +33,11 @@ {{ end }} - + {{ $avatar_url := $.Scratch.Get "avatar_url" }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 2f84aad..03183e9 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -4,7 +4,7 @@ >{{ site.Title }} @@ -53,7 +53,7 @@ > {{ $url := .RelPermalink }} {{ with site.Menus.main }} -