mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 12:03:31 +08:00
Merge branch 'master' into i18n-polish-translation
This commit is contained in:
commit
30cac61057
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
## Documentation & more information
|
## Documentation & more information
|
||||||
|
|
||||||
[Documentation](https://docs.stack.jimmycai.com/) | [中文文档](https://docs.stack.jimmycai.com/v/zh-cn/)
|
[Documentation](https://docs.stack.jimmycai.com/) | [中文文档](https://docs.stack.jimmycai.com/zh/)
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ class StackColorScheme {
|
|||||||
localStorage.setItem(this.localStorageKey, this.currentScheme);
|
localStorage.setItem(this.localStorageKey, this.currentScheme);
|
||||||
}
|
}
|
||||||
|
|
||||||
private bindClick(toggleEl) {
|
private bindClick(toggleEl: HTMLElement) {
|
||||||
toggleEl.addEventListener('click', (e) => {
|
toggleEl.addEventListener('click', (e) => {
|
||||||
if (this.isDark()) {
|
if (this.isDark()) {
|
||||||
/// Disable dark mode
|
/// Disable dark mode
|
||||||
|
24
theme.toml
24
theme.toml
@ -5,23 +5,23 @@ name = "Stack"
|
|||||||
license = "GPL-3.0-only"
|
license = "GPL-3.0-only"
|
||||||
licenselink = "https://github.com/CaiJimmy/hugo-theme-stack/blob/master/LICENSE"
|
licenselink = "https://github.com/CaiJimmy/hugo-theme-stack/blob/master/LICENSE"
|
||||||
description = "Card-style Hugo theme designed for bloggers"
|
description = "Card-style Hugo theme designed for bloggers"
|
||||||
homepage = "https://theme-stack.jimmycai.com"
|
homepage = "https://github.com/CaiJimmy/hugo-theme-stack"
|
||||||
tags = [
|
demosite = "https://theme-stack.jimmycai.com"
|
||||||
"blog",
|
|
||||||
"responsive",
|
tags = ["blog", "responsive", "clean", "light", "dark", "personal"]
|
||||||
"clean",
|
|
||||||
"light",
|
|
||||||
"dark",
|
|
||||||
"personal"
|
|
||||||
]
|
|
||||||
features = [
|
features = [
|
||||||
"disqus",
|
"disqus",
|
||||||
"photoswipe",
|
"photoswipe",
|
||||||
"opengraph",
|
"opengraph",
|
||||||
"widgets"
|
"widgets",
|
||||||
|
"darkmode",
|
||||||
|
"table of contents",
|
||||||
|
"search",
|
||||||
]
|
]
|
||||||
|
|
||||||
min_version = "0.78.0"
|
min_version = "0.78.0"
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
name = "Jimmy Cai"
|
name = "Jimmy Cai"
|
||||||
homepage = "https://jimmycai.com"
|
homepage = "https://jimmycai.com"
|
||||||
|
Loading…
Reference in New Issue
Block a user