diff --git a/assets/scss/partials/menu.scss b/assets/scss/partials/menu.scss
index 281dc3a..19476ac 100644
--- a/assets/scss/partials/menu.scss
+++ b/assets/scss/partials/menu.scss
@@ -127,10 +127,8 @@
}
/* Menu style */
-.menu {
- padding-left: 0;
+#main-menu {
list-style: none;
- flex-direction: column;
overflow-y: auto;
flex-grow: 1;
font-size: 1.4rem;
@@ -141,13 +139,15 @@
margin: 0 calc(var(--container-padding) * -1);
padding: 30px 30px;
+
@include respond(xl) {
padding: 15px 0;
}
- &,
- .menu-bottom-section {
+ &, .menu-bottom-section ol {
+ flex-direction: column;
gap: 30px;
+
@include respond(xl) {
gap: 25px;
}
@@ -200,13 +200,15 @@
font-weight: bold;
}
}
- }
- .menu-bottom-section {
- margin-top: auto;
- display: flex;
- flex-direction: column;
- width: 100%;
+ &.menu-bottom-section {
+ margin-top: auto;
+
+ ol {
+ display: flex;
+ padding-left: 0;
+ }
+ }
}
}
diff --git a/data/external.yaml b/data/external.yaml
index 777620d..4fc0bca 100644
--- a/data/external.yaml
+++ b/data/external.yaml
@@ -21,17 +21,17 @@ PhotoSwipe:
type: style
KaTeX:
- - src: https://cdn.jsdelivr.net/npm/katex@0.15.6/dist/katex.min.css
- integrity: sha256-J+iAE0sgH8QSz9hpcDxXIftnj65JEZgNhGcgReTTK9s=
+ - src: https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css
+ integrity: sha384-n8MVd4RsNIU0tAv4ct0nTaAbDJwPJzDEaqSD1odI+WdtXRGWt2kTvGFasHpSy3SV
type: style
- - src: https://cdn.jsdelivr.net/npm/katex@0.15.6/dist/katex.min.js
- integrity: sha256-InsNdER1b2xUewP+pKCUJpkhiqwHgqiPXDlIk7GzBu4=
+ - src: https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.js
+ integrity: sha384-XjKyOOlGwcjNTAIQHIpgOno0Hl1YQqzUOEleOLALmuqehneUG+vnGctmUb0ZY0l8
type: script
defer: true
- - src: https://cdn.jsdelivr.net/npm/katex@0.15.6/dist/contrib/auto-render.min.js
- integrity: sha256-y39Mpg7V3D4lhBX4x6O0bUqTV4pSrfgwEfGKfxkOdgI=
+ - src: https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/contrib/auto-render.min.js
+ integrity: sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05
type: script
defer: true
diff --git a/exampleSite/content/page/about/index.md b/exampleSite/content/page/about/index.md
index 494cb46..68911f9 100644
--- a/exampleSite/content/page/about/index.md
+++ b/exampleSite/content/page/about/index.md
@@ -15,7 +15,7 @@ menu:
icon: user
---
-Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.
+Written in Go, Hugo is an open source static site generator available under the [Apache License 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.
Hugo makes use of a variety of open source projects including:
@@ -29,6 +29,6 @@ Hugo is ideal for blogs, corporate websites, creative portfolios, online magazin
Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases.
-Websites built with Hugo are extremelly fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider.
+Websites built with Hugo are extremely fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider.
Learn more and contribute on [GitHub](https://github.com/gohugoio).
diff --git a/exampleSite/content/post/math-typesetting/index.md b/exampleSite/content/post/math-typesetting/index.md
index ce8d0bf..060fd7f 100644
--- a/exampleSite/content/post/math-typesetting/index.md
+++ b/exampleSite/content/post/math-typesetting/index.md
@@ -21,17 +21,17 @@ In this example we will be using [KaTeX](https://katex.org/)
{{ end }}
```
-- To enable KaTex globally set the parameter `math` to `true` in a project's configuration
-- To enable KaTex on a per page basis include the parameter `math: true` in content files
+- To enable KaTeX globally set the parameter `math` to `true` in a project's configuration
+- To enable KaTeX on a per page basis include the parameter `math: true` in content files
**Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html)
{{< math.inline >}}
{{ if or .Page.Params.math .Site.Params.math }}
-
-
-
+
+
+
{{ end }}
{{ math.inline >}}
diff --git a/i18n/zh-cn.yaml b/i18n/zh-cn.yaml
index 9350c2b..da39c8f 100644
--- a/i18n/zh-cn.yaml
+++ b/i18n/zh-cn.yaml
@@ -4,6 +4,13 @@ toggleMenu:
darkMode:
other: 暗色模式
+list:
+ page: "{{ .Count }} 个页面"
+
+ section: 章节
+
+ subsection: 子章节
+
article:
back:
other: 返回
@@ -54,7 +61,7 @@ search:
footer:
builtWith:
- other: Built with {{ .Generator }}
+ other: 使用 {{ .Generator }} 构建
designedBy:
other: 主题 {{ .Theme }} 由 {{ .DesignedBy }} 设计
diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html
index 4b9d26e..9ef3768 100644
--- a/layouts/partials/footer/footer.html
+++ b/layouts/partials/footer/footer.html
@@ -1,4 +1,4 @@
-{{- $ThemeVersion := "3.23.0" -}}
+{{- $ThemeVersion := "3.24.0" -}}