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:
parent
44f8ee0b7d
commit
89a1983130
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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 -}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user