feat(style): remove han-css to be more minimalist

A few months ago I add han-css to this theme due to my personal
interest. However, I realized it broke the minimalist spirit of
this theme and may broke some style. So it is removed in this
commit.
This commit is contained in:
Hanwen Guo 2023-01-01 16:32:35 +08:00
parent 44f8ee0b7d
commit 89a1983130
3 changed files with 2 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="{{ $.Site.LanguageCode }}" class="{{- if $.Site.Params.hasCJKLanguage -}} {{- "han-init" -}} {{- end -}}">
<html lang="{{ $.Site.LanguageCode }}">
{{- partial "head.html" . -}}
<body a="{{ $.Site.Params.theme_config.appearance | default "auto" }}">
<main class="page-content" aria-label="Content">
@ -7,6 +7,5 @@
{{- block "main" . }}{{- end }}
</div>
</main>
<script src="https://cdn.jsdelivr.net/npm/han-css@3/dist/han.min.js"></script>
</body>
</html>

View File

@ -18,5 +18,4 @@
{{ $style := $sass | resources.ToCSS $options }}
<link rel="stylesheet" href="{{ $style.Permalink | relURL }}" />
{{ if .Params.mathjax }} {{ partial "mathjax.html" . }} {{ end }}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/han-css@3/dist/han.min.css">
</head>

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="{{ $.Site.LanguageCode }}" class="han-init">
<html lang="{{ $.Site.LanguageCode }}">
{{- partial "head.html" . -}}
<body a="{{ $.Site.Params.theme_config.appearance | default "auto" }}">
<main class="page-content" aria-label="Content">
@ -7,7 +7,6 @@
{{- block "main" . }}{{- end }}
</div>
</main>
<script src="https://cdn.jsdelivr.net/npm/han-css@3/dist/han.min.js"></script>
</body>
{{- if .Params.custom_js -}}
{{- range .Params.custom_js -}}