Compare commits

..
8 Commits
9 changed files with 104 additions and 16 deletions
+1 -1
View File
@@ -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
+1
View File
@@ -110,6 +110,7 @@
span { span {
font-weight: 500; font-weight: 500;
white-space: nowrap;
} }
} }
} }
+1 -1
View File
@@ -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
+11
View File
@@ -5,8 +5,15 @@ darkMode:
other: ダークモード other: ダークモード
article: article:
back:
other: 前のページ
tableOfContents:
other: 目次
relatedContents: relatedContents:
other: 関連するコンテンツ other: 関連するコンテンツ
lastUpdatedOn: lastUpdatedOn:
other: 最終更新 other: 最終更新
@@ -20,8 +27,10 @@ widget:
archives: archives:
title: title:
other: アーカイブ other: アーカイブ
more: more:
other: さらに見る other: さらに見る
tagCloud: tagCloud:
title: title:
other: タグ other: タグ
@@ -29,7 +38,9 @@ widget:
search: search:
title: title:
other: 検索 other: 検索
placeholder: placeholder:
other: 入力... other: 入力...
resultTitle: resultTitle:
other: "#PAGES_COUNT 件 #TIME_SECONDS 秒)" other: "#PAGES_COUNT 件 #TIME_SECONDS 秒)"
+65
View File
@@ -0,0 +1,65 @@
toggleMenu:
other: Przełącz Menu
darkMode:
other: Tryb ciemny
list:
page:
one: "{{ .Count }} strona"
other: "{{ .Count }} stron"
section:
other: Sekcja
subsection:
one: Podsekcja
other: Podsekcje
article:
back:
other: Wróć
tableOfContents:
other: Spis treści
relatedContents:
other: Powiązane artykuły
lastUpdatedOn:
other: Ostatnio zaktualizowany
notFound:
title:
other: Nie znaleziono
subtitle:
other: Ta strona nie istnieje
widget:
archives:
title:
other: Archiwum
more:
other: Więcej
tagCloud:
title:
other: Tagi
search:
title:
other: Szukaj
placeholder:
other: Wpisz coś...
resultTitle:
other: "#PAGES_COUNT stron (#TIME_SECONDS sekund)"
footer:
builtWith:
other: Zbudowano z {{ .Generator }}
designedBy:
other: Motyw {{ .Theme }} zaprojektowany przez {{ .DesignedBy }}
+11
View File
@@ -5,8 +5,15 @@ darkMode:
other: 暗色模式 other: 暗色模式
article: article:
back:
other: 返回
tableOfContents:
other: 目录
relatedContents: relatedContents:
other: 相关文章 other: 相关文章
lastUpdatedOn: lastUpdatedOn:
other: 最后更新于 other: 最后更新于
@@ -20,8 +27,10 @@ widget:
archives: archives:
title: title:
other: 归档 other: 归档
more: more:
other: 更多 other: 更多
tagCloud: tagCloud:
title: title:
other: 标签云 other: 标签云
@@ -29,7 +38,9 @@ widget:
search: search:
title: title:
other: 搜索 other: 搜索
placeholder: placeholder:
other: 输入关键词... other: 输入关键词...
resultTitle: resultTitle:
other: "#PAGES_COUNT 个结果 (用时 #TIME_SECONDS 秒)" other: "#PAGES_COUNT 个结果 (用时 #TIME_SECONDS 秒)"
+1 -1
View File
@@ -1,4 +1,4 @@
{{- $ThemeVersion := "2.4.0" -}} {{- $ThemeVersion := "2.5.0" -}}
<footer class="site-footer"> <footer class="site-footer">
<section class="copyright"> <section class="copyright">
&copy; &copy;
File diff suppressed because one or more lines are too long
+12 -12
View File
@@ -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"