1
0
Fork 0

refine code

This commit is contained in:
nanxiaobei 2023-08-17 07:14:16 +08:00
parent 276591c268
commit 6c519f81cf
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
{{ $.Scratch.Delete "bg_color" }}<!---->
{{ $.Scratch.Delete "social_list" }}<!---->
@ -35,7 +35,7 @@
<html
class="not-ready lg:text-base"
style="--bg: {{ $.Scratch.Get `bg_color` }}"
lang="{{ site.LanguageCode }}"
lang="{{ or site.LanguageCode site.Language.Lang }}"
>
{{ partial "head.html" . }}
<body class="text-black duration-200 ease-out dark:text-white">

View file

@ -59,7 +59,7 @@
{{ end }}
<!---->
{{ if or .Params.math .Site.Params.math }}
{{ if or .Params.math site.Params.math }}
<!---->
{{ partial "math.html" . }}
<!---->