mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 03:53:30 +08:00
Merge branch 'master' into feat-sticky-sidebar
This commit is contained in:
commit
d66dc37c4f
@ -11,7 +11,7 @@
|
||||
|
||||
## 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
|
||||
|
||||
|
@ -22,7 +22,7 @@ class StackColorScheme {
|
||||
localStorage.setItem(this.localStorageKey, this.currentScheme);
|
||||
}
|
||||
|
||||
private bindClick(toggleEl) {
|
||||
private bindClick(toggleEl: HTMLElement) {
|
||||
toggleEl.addEventListener('click', (e) => {
|
||||
if (this.isDark()) {
|
||||
/// Disable dark mode
|
||||
|
65
i18n/pl.yaml
Normal file
65
i18n/pl.yaml
Normal 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 }}
|
@ -1,4 +1,4 @@
|
||||
{{- $ThemeVersion := "2.4.0" -}}
|
||||
{{- $ThemeVersion := "2.5.0" -}}
|
||||
<footer class="site-footer">
|
||||
<section class="copyright">
|
||||
©
|
||||
|
File diff suppressed because one or more lines are too long
24
theme.toml
24
theme.toml
@ -5,23 +5,23 @@ name = "Stack"
|
||||
license = "GPL-3.0-only"
|
||||
licenselink = "https://github.com/CaiJimmy/hugo-theme-stack/blob/master/LICENSE"
|
||||
description = "Card-style Hugo theme designed for bloggers"
|
||||
homepage = "https://theme-stack.jimmycai.com"
|
||||
tags = [
|
||||
"blog",
|
||||
"responsive",
|
||||
"clean",
|
||||
"light",
|
||||
"dark",
|
||||
"personal"
|
||||
]
|
||||
homepage = "https://github.com/CaiJimmy/hugo-theme-stack"
|
||||
demosite = "https://theme-stack.jimmycai.com"
|
||||
|
||||
tags = ["blog", "responsive", "clean", "light", "dark", "personal"]
|
||||
|
||||
features = [
|
||||
"disqus",
|
||||
"photoswipe",
|
||||
"opengraph",
|
||||
"widgets"
|
||||
"widgets",
|
||||
"darkmode",
|
||||
"table of contents",
|
||||
"search",
|
||||
]
|
||||
|
||||
min_version = "0.78.0"
|
||||
|
||||
[author]
|
||||
name = "Jimmy Cai"
|
||||
homepage = "https://jimmycai.com"
|
||||
name = "Jimmy Cai"
|
||||
homepage = "https://jimmycai.com"
|
||||
|
Loading…
Reference in New Issue
Block a user