From 6c519f81cf494a7b2e1226b180ea63b4b7fbdd3c Mon Sep 17 00:00:00 2001 From: nanxiaobei Date: Thu, 17 Aug 2023 07:14:16 +0800 Subject: [PATCH] refine code --- layouts/_default/baseof.html | 4 ++-- layouts/partials/head.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 155c559..c2570c5 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,4 +1,4 @@ - + {{ $.Scratch.Delete "bg_color" }} {{ $.Scratch.Delete "social_list" }} @@ -35,7 +35,7 @@ {{ partial "head.html" . }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 42ae705..0c66208 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -59,7 +59,7 @@ {{ end }} - {{ if or .Params.math .Site.Params.math }} + {{ if or .Params.math site.Params.math }} {{ partial "math.html" . }}