Commit Graph
337 Commits
Author SHA1 Message Date
Jimmy CaiandGitHub 01eb9a4b0e fix: check if DISQUS is loaded before accessing it (#626)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/571
2022-06-09 22:43:08 +02:00
luoboQAQandGitHub 9eec31f0b6 feat(comment): Update Waline to V2 version (#616)
*  feat(comment): 更新Waline至V2版本

* 保留placeholder属性
2022-06-08 18:30:52 +02:00
955bb8dd7f feat(shortcodes): add quote shortcode, and example (#414)
* Add quote shortcode, and example

* Use trim to improve whitespace

* Allow for quote with neither author nor source

* Format code and move quote.scss to article.scss

This style is only used on the article page, so it makes more sense to have it there.

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-06-08 17:59:23 +02:00
WeltolkandGitHub 06c68e2aa2 chore: update twikoo version to 1.5.11 (#613) 2022-06-05 18:48:01 +02:00
Jimmy CaiandGitHub 3a79e9856e fix: read imageProcessing.cover.enabled correctly (#621) 2022-06-05 18:21:08 +02:00
Spence ChurchillandGitHub 5e350b92e8 refactor: rename "Related contents" to "Related content" (#567) 2022-06-05 17:20:08 +02:00
Jimmy CaiandGitHub 69ac21d0f7 release: 3.11.0 2022-03-19 23:56:29 +00:00
慕枫GoandGitHub 8c04e8362c fix(vssue): Vue version compatibility (#546) 2022-03-20 00:52:06 +01:00
Jimmy CaiandGitHub de9756291b release: 3.10.0 2022-03-06 10:58:31 +01:00
Jimmy CaiandGitHub 07e1b856b0 feat: same container width on all pages (#534) 2022-03-06 10:58:02 +01:00
Jimmy CaiandGitHub 863e6d4116 Resolve merge conflict 2022-03-05 17:14:24 +00:00
Jimmy CaiandGitHub 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 CaiandGitHub 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 CaiandGitHub 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
FarisZRandGitHub 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
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 CaiandGitHub 8abaa444c1 refactor: add flexbox gap to .article-details 2022-03-03 22:36:17 +00:00
Jimmy CaiandGitHub 04cdbcfedf refactor: Use flexbox gap (#520) 2022-03-03 23:11:19 +01:00
Jimmy CaiandGitHub 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
zhixuanandGitHub 24cd07589b feat(comments): add lang option for giscus (#498) 2022-03-02 21:31:44 +01:00
Allen GuanandGitHub 98923b1dd7 fix(RSS): hidden post visible on feed (#514) 2022-03-02 21:24:56 +01:00
Jimmy CaiandGitHub 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 CaiandGitHub b3b8fa73ef feat(article): add link to translated content (#511) 2022-02-27 09:48:57 +01:00
JesseJesonandGitHub 26fb06951b chore: update twikoo version to 1.4.18 (#496) 2022-02-26 23:49:26 +01:00
Jimmy CaiandGitHub 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 CaiandGitHub 9f36a956ca release: 3.8.0 2022-02-06 19:36:10 +00:00
Jimmy CaiandGitHub 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 CaiandGitHub 6474b9dfd8 fix(comments): fix cactus comments
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/470
2022-01-23 12:59:21 +00:00
MarcelandGitHub 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
Jimmy CaiandGitHub 9e08854681 release: 3.7.0 2022-01-20 11:12:16 +00:00
zhixuanandGitHub 0af9d23e49 feat(article): add scroll for table (#428)
* feat: table can't scroll & delete scrollbar style for Chromium

* Undo some line breaks

* Add a table with overflow to exampleSite
2022-01-20 12:09:25 +01:00
Jimmy CaiandGitHub 3b98d3ba05 feat(sidebar): link avatar to homepage (#465)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/399
2022-01-20 11:38:16 +01:00
bfd1eb8400 feat: add custom.ts (#461)
* feat: add custom.ts

* Load custom.ts only if it exists

This change avoids loading an empty .js file

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-01-19 16:35:15 +01:00
tanmxandGitHub eebaea81e8 feat(comment): update twikoo version to 1.4.15 (#464) 2022-01-19 15:22:51 +01:00
Jimmy CaiandGitHub d165621568 release: 3.6.0 2021-12-29 00:32:08 +01:00
Nathan HarkenriderandGitHub dde6a10cab feat: implement cache busting for CSS (#444) 2021-12-28 23:28:33 +01:00
Jimmy CaiandGitHub 455e23f22b feat: page links (#446) 2021-12-28 11:28:20 +01:00
zhixuanandGitHub 497643b363 feat: add alt message for archive & related contents images (#411) 2021-12-04 21:05:53 +01:00
Jimmy CaiandGitHub 72a5e956ee release: 3.5.0 2021-10-31 10:17:45 +01:00
25581cc446 fix(comments/cusdis): use the correct script for the self-hosted version (#403)
* Modify the Self-hosting js source path

* refactor(comments/cusdis): avoid multiple if statement

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2021-10-31 10:15:57 +01:00
zhixuanandGitHub c43f9d1ea8 fix(menu/social): Delete relLangURL (#406) 2021-10-29 17:20:36 +02:00
Jimmy CaiandGitHub 44fc94f008 release: 3.4.0 2021-10-23 10:00:42 +00:00
Jimmy CaiandGitHub 661e59b85d feat: social menu (#401) 2021-10-23 11:58:55 +02:00
Jimmy CaiandGitHub 7c59ac7713 refactor(menu): use .Params.icon to configure menu item icon (#400) 2021-10-23 09:18:44 +02:00
MikDal002andGitHub d04b3a8771 fix: appropriate back button and menu links for multi-language site (#386) 2021-10-16 10:56:55 +02:00
WingLimandGitHub d8c9468c68 feat(comments): add Cusdis support (#372)
* feat: add cusdis support

* docs: add cusdis example config
2021-10-01 16:38:37 +02:00
zhixuanandGitHub 57bfea8338 fix(shortcodes): mixed content error with bilibili and tencent video (#365) 2021-09-24 20:32:53 +02:00
CookiekiraandGitHub 66bd8a2997 feat(comments): add Gitalk support (#351) 2021-09-18 10:03:08 +02:00