refine code
This commit is contained in:
parent
276591c268
commit
6c519f81cf
2 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
<!DOCTYPE html>
|
<!doctype html>
|
||||||
|
|
||||||
{{ $.Scratch.Delete "bg_color" }}<!---->
|
{{ $.Scratch.Delete "bg_color" }}<!---->
|
||||||
{{ $.Scratch.Delete "social_list" }}<!---->
|
{{ $.Scratch.Delete "social_list" }}<!---->
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
<html
|
<html
|
||||||
class="not-ready lg:text-base"
|
class="not-ready lg:text-base"
|
||||||
style="--bg: {{ $.Scratch.Get `bg_color` }}"
|
style="--bg: {{ $.Scratch.Get `bg_color` }}"
|
||||||
lang="{{ site.LanguageCode }}"
|
lang="{{ or site.LanguageCode site.Language.Lang }}"
|
||||||
>
|
>
|
||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
<body class="text-black duration-200 ease-out dark:text-white">
|
<body class="text-black duration-200 ease-out dark:text-white">
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<!---->
|
<!---->
|
||||||
|
|
||||||
{{ if or .Params.math .Site.Params.math }}
|
{{ if or .Params.math site.Params.math }}
|
||||||
<!---->
|
<!---->
|
||||||
{{ partial "math.html" . }}
|
{{ partial "math.html" . }}
|
||||||
<!---->
|
<!---->
|
||||||
|
|
Loading…
Reference in a new issue