Commit Graph

12 Commits

Author SHA1 Message Date
Jimmy Cai
5466ffb525 Merge branch 'master' into canary 2024-03-27 17:03:10 +01:00
Jimmy Cai
64ecafb57f Merge branch 'master' into canary 2024-03-10 23:48:40 +01:00
Jimmy Cai
22c7048f89 refactor: drop support for external avatar
This simplifies the code and the configuration file
2023-09-11 18:40:53 +02:00
Jimmy Cai
692804498d doc: documentation is now in the same repository as the code
Demo site will be generated in subfolder /demo
2023-09-11 18:16:29 +02:00
Jimmy Cai
9b643df3aa refactor: use hugo.yaml instead of config.yaml in exampleSite 2023-09-10 15:57:07 +02:00
Jimmy Cai
55400d7d95 refactor: simplify exampleSite configuration files and switch to YAML
Include only overridden values.
2023-09-10 15:42:43 +02:00
Jacob Zhong
4be110e540
refactor(widget): taxonomy widget (#763)
* Add link to navbar sections and refactor names

* Prevent duplicate tags and categories information

* Add style to the widget links

* refactor: add `taxonomy` widget

Replaces `categories` and `tag-cloud` widget.

* style: remove unused `font_size_{{ .Count }}` in `taxonomy` widget

---------

Co-authored-by: Jimmy Cai <hi@jimmycai.com>
2023-08-27 18:26:53 +02:00
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
Jimmy Cai
ba3dbc4163 feat: add favicon from assets folder 2022-06-12 10:50:04 +00:00
Jimmy Cai
7d838dc7fd fix: exampleSite not using correct theme 2022-06-12 10:39:27 +00:00
Jimmy Cai
2d9c27a7c6 refactor: migrate theme configuration to TOML 2022-06-12 10:27:18 +00:00