Commit Graph

532 Commits

Author SHA1 Message Date
Konnyaku
da6a50ddb5
feat(i18n): add Chinese(Hong Kong) translation (#560) 2022-03-20 00:05:12 +01:00
zhixuan
2671f292fd
fix(exampleSite): wrong zh-cn about page filename (#562) 2022-03-20 00:00:08 +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
5699510c36 refactor(article): remove article toolbar style 2022-03-19 22:41:37 +00: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
Jimmy Cai
b5d0c5b37d fix(exampleSite): cn -> zh-CN 2022-03-09 14:59:36 +00:00
zhixuan
0167edcbf2
feat(i18n): add missing ja & zh-CN translations (#538) 2022-03-07 21:33:04 +01:00
Jimmy Cai
7a5dccdfd3
doc: add quickstart template 2022-03-06 11:17:03 +01:00
Jimmy Cai
de9756291b
release: 3.10.0 2022-03-06 10:58:31 +01:00
Jimmy Cai
07e1b856b0
feat: same container width on all pages (#534) 2022-03-06 10:58:02 +01:00
Jimmy Cai
8f5164b5b9 chore: add go.mod again 2022-03-05 17:35:18 +00:00
Jimmy Cai
07da61b1f2 chore: delete go.mod 2022-03-05 17:25:02 +00:00
Jimmy Cai
76925213a3 chore: update go.mod
Trying to figure out what's wrong
2022-03-05 17:22:11 +00:00
Jimmy Cai
0317e19ef2 fix(RSS): page context selection 2022-03-05 17:15:08 +00:00
Jimmy Cai
863e6d4116 Resolve merge conflict 2022-03-05 17:14:24 +00:00
Jimmy Cai
72629cf476 Merge branch 'fix-rss-pctx' of https://github.com/nella17/hugo-theme-stack into nella17-fix-rss-pctx 2022-03-05 17:13:42 +00:00
Jimmy Cai
d455336d57
fix: remove section filter in rss.xml 2022-03-05 18:11:48 +01:00
Jimmy Cai
5449f786ac release: 3.9.0 2022-03-04 10:40:41 +01:00
Jimmy Cai
6f60f4f552
fix: disable external image lightbox (#525) 2022-03-04 10:31:57 +01:00
Jimmy Cai
985af924e7
feat: new left sidebar layout (#524)
* feat: more compact menu style

* add compact option to sidebar

* fix mobile menu style
2022-03-04 10:24:21 +01:00
Jimmy Cai
c122e5e9a1 chore(exampleSite): remove extra home menu item 2022-03-04 08:47:51 +00:00
Jimmy Cai
15d2040f7e chore(exampleSite): fix home menu item highlight 2022-03-04 08:46:27 +00:00
Jimmy Cai
79e23544a9 Merge branch 'master' of https://github.com/CaiJimmy/hugo-theme-stack 2022-03-04 08:41:50 +00:00
Jimmy Cai
c4e864a08d doc(exampleSite): move chinese-test post to /cn 2022-03-04 08:41:47 +00:00
Jimmy Cai
dbf4c2e58f
chore: add Github link to funding.yml 2022-03-04 09:39:27 +01:00
FarisZR
47c19a0fbc
feat(i18n): add Arabic translation (#157) 2022-03-04 00:28:17 +01:00
FarisZR
0d0375a7fc
feat: add RTL Support and update demo site to Show Arabic/RTL content (#519)
* add LanguageDirection variable

* add .direction-rtl and .direction-ltr clases

* margin -right > margin-inline-end

* keep Codeblocks LTR

* switch to logical properties

* left -> inset-inline-start

* Add Arabic/RTL placeholder text

* Add arabic language

* remove space

* use Html Dir instead of class

* Move codeblock code to layout/article.css and fix 4 spaces codeblocks

* remove unused clases
2022-03-04 00:25:34 +01:00
Jimmy Cai
86ad00cf8c doc: add categories widget to exampleSite 2022-03-03 22:48:26 +00: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
Jimmy Cai
d806226ec8 fix: article-details gap 2022-03-03 22:39:04 +00:00
Jimmy Cai
8abaa444c1 refactor: add flexbox gap to .article-details 2022-03-03 22:36:17 +00:00
Jimmy Cai
04cdbcfedf
refactor: Use flexbox gap (#520) 2022-03-03 23:11:19 +01:00
Jimmy Cai
adf27aebf2
Revert "fix(RSS): hidden post visible on feed (#514)" (#517) 2022-03-03 07:31:03 +01:00
Allen Guan
9dbc0a4f38
fix(RSS): page context selection 2022-03-03 12:38:47 +08:00
zhixuan
24cd07589b
feat(comments): add lang option for giscus (#498) 2022-03-02 21:31:44 +01:00
Allen Guan
98923b1dd7
fix(RSS): hidden post visible on feed (#514) 2022-03-02 21:24:56 +01:00
Jimmy Cai
2712887c7c
feat: multilingual site switch (#512)
* feat: multilingual site switch

* fix menu item margin

switch to flexbox gap
2022-02-27 10:51:02 +01:00
Jimmy Cai
b3b8fa73ef
feat(article): add link to translated content (#511) 2022-02-27 09:48:57 +01:00
JesseJeson
26fb06951b
chore: update twikoo version to 1.4.18 (#496) 2022-02-26 23:49:26 +01:00
Jimmy Cai
4d552a9df5
feat: article page widget support (#488)
* feat: article page widget support

* refactor: get rid of article toolbar

Same 3 column layout for article page and homepage

* add missing space
2022-02-26 23:45:25 +01:00
Jimmy Cai
0fbbc12949 fix: check if paragraph exists before accessing it's textContent
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/490
2022-02-12 13:23:38 +00:00
Jimmy Cai
4b0dbb4630 fix(article): code block background style in light theme
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/489, https://github.com/CaiJimmy/hugo-theme-stack/issues/492
2022-02-11 20:36:52 +00:00
Jimmy Cai
ce57ea915e
chore: add /v3 to go.mod 2022-02-06 20:48:44 +01:00
Jimmy Cai
9f36a956ca release: 3.8.0 2022-02-06 19:36:10 +00:00
Jimmy Cai
d75dbe2b6e
fix: copy code button does not work when line number is enabled (#487)
* fix: copy code button does not work when line number is enabled

* fix pre style

* Add gist shortcode to exampleSite
2022-02-06 20:32:37 +01:00
Jimmy Cai
88beecd101
fix: hyperlinked image (#485)
* fix: hyperlinked image

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

* feat: add support to inline images

* Remove unused code

* Remove data-alt-html
2022-02-06 19:58:10 +01:00
Jimmy Cai
67d5156507
fix: disqus dark mode (#478)
* fix: disqus dark mode

* remove color-scheme

add custom chrome scrollbar style (removed in https://github.com/CaiJimmy/hugo-theme-stack/pull/428)
2022-01-30 10:57:16 +01:00
Jimmy Cai
6474b9dfd8 fix(comments): fix cactus comments
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/470
2022-01-23 12:59:21 +00:00
Marcel
7dc5def217
feat(comments): add https://cactus.chat support (#298)
* feat: Add https://cactus.chat as comments provider

* Add cactus comments config fields to exampleSite

* Add cactus css and js to external.yaml and move custom cactus css to html

* Remove unneeded cactus comments css

* Load external dependencies for cactus comments in the comments provider

* Use safeJS instead of safeHTML
2022-01-23 13:10:00 +01:00
Zoroark
2b40a32d47
feat(article): Scrollspy for the table of contents (#425)
* Add first try at scrollspy (broken right now)

* Scrollspy actually works now

* Fix VS Code errors by setting JS version

* Recompute offsets when window size changes

* Improve list compatibility for toc active selection

Support up to 6 levels of indentation, properly support <ol>

* Remove debug string

* Add more docs in smoothAnchors

* Use a map to match ids to navigation elements
2022-01-22 10:35:08 +01:00