Commit graph

75 commits

Author SHA1 Message Date
Jimmy Cai
b03390d237
Revert "Merge branch 'canary' into master" (#712)
Revert "Merge branch 'canary' into master (#711)"

This reverts commit 8a597a5c9c.
2022-10-29 17:14:19 +02:00
Jimmy Cai
8a597a5c9c
Merge branch 'canary' into master (#711)
* refactor(i18n): simplify the structure of the translation file

* chore: prepare repository for v4.0.0-alpha

* chore: modify go.mod to v4

* refactor: migrate theme configuration to TOML

* fix: exampleSite not using correct theme

* feat: add favicon from assets folder

* refactor: drop linear grandient background feature

remove node-vibrant from dependencies

* feat: use Hugo's code block render hook to implement code copy button

Now it can have i18n support

* refactor: delete color.ts

* refactor: delete Emoji support post from example site

* refactor: drop support for `hidden` field in front matter

* feat: upgrade to PhotoSwipe v5

* chore: bump the required hugo version to 0.100.0

* refactor: remove PhotoSwipe from external.yaml

* fix: extra margin in search result

* fix: incorrect markdown heading level in example site

* refactor: remove some usages of `default` in template

No longer needed thanks to Hugo's configuration merge

* fix: one line codeblock style in firefox

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/564

* feat: add style to new codeblock

* feat: i18n support for codeblock copy text

* fix(menu): jitter when closing menu

It's caused by flexbox gap property, which can't animate

* fix(search): long text overflows under the Search icon

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/515
2022-10-29 17:02:24 +02:00
Celso Miranda
299b80c5f8
feat(i18n): add european portuguese translation (#699)
Very subtle changes from the Brazilian Portuguese translation
2022-10-21 12:56:00 +02:00
FarisZR
b1e8472bcf
feat(i18n): add categories cloud translation for Arabic (#673)
Add categories cloud translation
2022-09-29 16:30:47 +02:00
Mehedi Hasan
22d8a396ab
feat(i18n): update Bengali translation (#665) 2022-09-29 16:28:58 +02:00
Daniel Pessoa
94a1f4ade0
feat(i18n): add missing pt-BR translations (#680)
* feat(i18n): Add categoriesCloud for pt-BR
2022-09-29 16:25:58 +02:00
Wontory
72c5f4ea24
feat(i18n): added missing korean translation (categories cloud widget) (#653) 2022-08-03 20:49:10 +02:00
Sajjad Shirazy
92a6d71ce5
feat(i18n): add Persian(Farsi) translation (#602) 2022-06-10 20:55:59 +02:00
Mehedi Hasan
49c0a2bc56
feat(i18n): add Bengali translation (#625) 2022-06-09 20:48:24 +02:00
Felix Niederwanger
0a5cbea10f
feat(i18n): add missing translation (it, nl) for categories (#614) 2022-06-05 19:01:31 +02:00
Zsombor Udvardy
add8f364e0
feat(i18n): add Hungarian translation (#584) 2022-06-05 18:00:05 +02:00
Spence Churchill
5e350b92e8
refactor: rename "Related contents" to "Related content" (#567) 2022-06-05 17:20:08 +02:00
Niko Köser
14bb05c8db
docs(i18n): add German translation for categories widget (#596) 2022-06-05 13:02:41 +02:00
RADDAH
c5eee559c2
fix(i18n/ar): update Reading Time localization for Arabic language (#527)
* update the localization based on Arabic syntax

readingTime variable updated to match the exact syntax for Arabic language

One variable in Arabic no need to add the count variable for 1 minute, there is a word to describe that specifically. 
Other variable localization updated to match Arabic grammar tenses.

* remove unnecessary leading space

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-03-20 00:41:18 +01:00
Farrel Franqois
2726cf7549
feat(i18n/id): Add translation for Category Widget (#548) 2022-03-20 00:38:00 +01:00
Hugoo
1cfd39c627
feat(i18n): add Catalan translation (#557) 2022-03-20 00:14:26 +01:00
Hugoo
bf8868c8e7
feat(i18n/es): add translation for Category widget (#558) 2022-03-20 00:06:27 +01:00
Konnyaku
da6a50ddb5
feat(i18n): add Chinese(Hong Kong) translation (#560) 2022-03-20 00:05:12 +01:00
Kacper Betański
9d922272e4
feat(i18n/pl): Add translation for Category widget (#563) 2022-03-19 23:58:05 +01:00
Jimmy Cai
7d1713d407 refactor(i18n): use lowercase language codes
Related with this Hugo issue: https://github.com/gohugoio/hugo/issues/7344
2022-03-09 15:04:24 +00:00
zhixuan
0167edcbf2
feat(i18n): add missing ja & zh-CN translations (#538) 2022-03-07 21:33:04 +01:00
FarisZR
47c19a0fbc
feat(i18n): add Arabic translation (#157) 2022-03-04 00:28:17 +01:00
Felix Niederwanger
e22664be13
feat(widget): add category widget (#475)
* Add category widget

Adds the ability to add a category to the widgets.

* Adapt to new widget scheme

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-03-03 23:47:10 +01:00
HAHWUL
359e4b34c1
Update i18n(ko) (#418)
Add dark mode, list-section, list-subsction, article-back, article-tableOfContents, article-readingTime
2021-12-04 21:16:22 +01:00
Paul-Henri Zimmerlin
195b8d8076
fix(i18n/fr): add missing translations for reading time (#416) 2021-12-04 21:10:42 +01:00
volodymyrmarkiv
a7d316365c
feat(i18n): add Ukrainian translation (#404) 2021-10-30 21:22:08 +02:00
TonyPepeBear
ea74aecadb
feat(i18n): add zh-TW (#402) 2021-10-30 21:18:02 +02:00
Christos Manios
ca9dcc870d
feat(i18n): add Greek translation (#378) 2021-10-22 16:12:44 +02:00
Ar-ruk Kachen
913a4e8898
feat(i18n): Thai language (#396) 2021-10-17 12:34:19 +02:00
Daniel Pessoa
30467ae65c
feat(i18n): add missing pt-BR translations (#384) 2021-10-16 11:10:25 +02:00
Matthias Thym
9b75823f68
refactor(i18n): Suggest improvements English translation (#329)
No need to shorten minutes
Remove period from subtitle on 404 page
2021-08-30 15:52:29 +02:00
Matthias Thym
080c86ec79
feat(i18n): add German and Spanish translations for new features and refactor (#328)
* feat(i18n): add German translations for new features and refactor

add translation for feature `back`
add translation for feature `tableOfContents`
add translation for feature `readingTime`
fix translation for feature `resultTitle`
add newlines according to i18n en config

* feat(i18n): add Spanish translations for new features and refactor

add translation for feature `back`
add translation for feature `tableOfContents`
add translation for feature `readingTime`
add newlines according to i18n en config
2021-08-26 18:23:55 +02:00
MikDal002
2013c50abe
feat(i18n): add PL translation for reading time (#325) 2021-08-25 12:23:50 +02:00
SOT-TECH
f07d5dc515
feat(i18n): add readingTime russian translation (#297) 2021-08-10 10:28:43 +02:00
zhixuan
5f1a5ab83f
feat(i18n): add translation for .readingTime in Chinese & Japanese (#285) 2021-08-04 20:39:01 +02:00
giacomocarrozzo
910d93b4ce
feat(i18n): Italian translation (#281) 2021-07-29 15:59:15 +02:00
Farrel Franqois
8d0c65c374
feat(i18n): Add Indonesian translation for readingTime (#279) 2021-07-27 10:16:54 +02:00
Bachrul uluum
dcfc7b5589
feat(article): reading time (#204)
* add reading time feature

* Revert change in jsconfig.json

* feat: add article.readingTime param, and improve style

* Revert change in jsconfig.json x2

* Remove reading time in compact layout

It doesn't look right to me for now

* feat: add i18n support to reading time string

* Hide footer.article-time when there's not content

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2021-07-23 18:37:30 +02:00
Farrel Franqois
8cb11d721f
feat(i18n): Improve Indonesian translation (#265) 2021-07-19 12:21:49 +02:00
SOT-TECH
99418f1056
feat(i18n): add russian translation for back and TOC (#262) 2021-07-11 11:23:52 +02:00
Zoroark
45a944412c
feat(i18n): Added missing French translations (#259)
Also adds whitespace to match the English file's layout.
2021-07-07 13:05:30 +02:00
MikDal002
ac18f600c1
feat(i18n): add Polish translation (#257) 2021-07-06 12:29:22 +02:00
zhixuan
42eb1f5067
feat(i18n): add Chinese translation of Table of Content (#235) 2021-06-23 11:21:37 +02:00
zhixuan
0c8643e458
feat(i18n): add Japanese translation of Table of Content (#237) 2021-06-23 11:16:46 +02:00
Jimmy Cai
41fa65cbf5
feat: Table of Contents (#232)
Currently, the new table of contents is disabled by default. I will change that after several versions.

-------------

* feat: Table of Content (WIP)

* fix: set scratch inside define block

* fix(toc): darkmode text color

* feat: unify page layout, and add config to disable toc

* feat: add scroll-behavior: smooth to html

* fix: use <ol> for TOC. And Disable TOC by default for now

* refactor: use css flexbox for article page with toc

enable toc for example site

* feat(i18n): add i18n entry for "Back" and "Table of Contents"

* style: remove unused `keep-sidebar` class

* doc: add table of contents as feature
2021-06-21 18:44:54 +02:00
Masakazu Araki
159cc30570
fix(i18n): Japanese translating (#212)
"サーチ" is not good translate for this situation.
2021-06-12 09:28:43 +02:00
miclnl
80bd7689a2
fix(i18n): Dutch minor change (#185) 2021-04-05 10:25:11 +02:00
miclnl
b10d028ca9
feat(i18n): add Dutch (#180) 2021-04-03 20:59:46 +02:00
Matthias Thym
21a5834a2f i18n: German translation 2021-03-27 14:38:36 +01:00
Spicy
e61bca1dbd
i18n: Spanish translation (#155)
Co-authored-by: Jimmy Cai <jimmehcai@gmail.com>
2021-02-26 17:43:47 +01:00