Commit graph

1171 commits

Author SHA1 Message Date
Cotes Chung
1967de1f1d
refactor(js): reduce function complexity 2023-05-13 07:03:15 +08:00
Cotes Chung
c283e7782f
refactor!: rename assets origin configuration files 2023-05-13 07:03:15 +08:00
Cotes Chung
9d97120197
perf(assets): reduce HTTP requests to CDN 2023-05-13 03:29:06 +08:00
Cotes Chung
016a9baddd
Merge branch 'feature/v6-ui' (#1034)
The UI of the next major version
2023-05-13 02:25:05 +08:00
Cotes Chung
d9e1d84f08
refactor(deps): upgrade bootstrap from v4.6 to v5.2
- update class name of the spacing, font style, cards and toasts
- update attribute names &  tooltip usage
- remove custom smooth scroll
- syntax colors
2023-05-13 02:05:33 +08:00
Cotes Chung
3210c59466
feat(ui): new design footer content layout 2023-05-13 02:05:33 +08:00
Cotes Chung
83f1c34f92
feat(ui): improve the design for top bar 2023-05-13 02:05:33 +08:00
Cotes Chung
83bbe4ac93
feat(ui): redesign the sidebar 2023-05-13 02:05:33 +08:00
Cotes Chung
6d99f5cc36
feat(ui): improve code snippet design 2023-05-13 02:05:33 +08:00
Cotes Chung
0c80552d77
perf(ui): mute the marker in lists 2023-05-13 02:05:32 +08:00
Cotes Chung
e38309f3bd
perf(ui): improve inline code in light mode 2023-05-13 02:05:32 +08:00
Cotes Chung
8cbbcfa26d
perf(ui): improve the color of prompts in dark mode 2023-05-13 02:05:32 +08:00
Cotes Chung
003e7b60c9
perf(ux): improve LQIP fade in effect 2023-05-13 02:05:32 +08:00
Cotes Chung
7c23a4ebc5
perf(ui): lighten the link color in light-mode 2023-05-13 02:05:32 +08:00
Cotes Chung
2a4d67d65c
refactor: uniform block border radius
scope:
- categories
- posts (prompt, code snippets)
2023-05-13 02:05:32 +08:00
Cotes Chung
414dd132ae
perf(ui): improve categories color in dark mode 2023-05-13 02:05:32 +08:00
Cotes Chung
f0266c1f78
refactor(scss): update vendor prefix 2023-05-13 02:05:31 +08:00
Cotes Chung
7626e4d005
perf(ui): improve hover effect for post preview cards
- home cards
- navigator buttons at the bottom post
2023-05-13 02:05:31 +08:00
Cotes Chung
34499f0c92
perf(ui): improve hover effect of trending tags 2023-05-13 02:05:31 +08:00
Cotes Chung
aadf9393d5
perf(ui): uniform the muted text color 2023-05-13 02:05:31 +08:00
Cotes Chung
2918da9f29
perf(ui): improve related posts design 2023-05-13 02:05:31 +08:00
Cotes Chung
97b8dfeed6
feat(ui): show preview image in home page 2023-05-13 02:05:30 +08:00
Cotes Chung
ee88cec270
fix: parameter parsing error in image URL (#1022) 2023-05-13 01:02:15 +08:00
Darian Miller
8da583d403
feat: support hiding the modification date of a post (#1020)
There is the current ability to set `last_modified_at` in the front matter of post and use that datetime instead of the built in logic.
New feature in post.html:  if the modified date time matches the date of the post, then don't show "Updated xxxx"
2023-05-06 11:04:17 +08:00
Cotes Chung
61fdbcb83a
perf(i18n): set the global default locales to "en" (#979)
Avoid missing labels caused by languages ​​outside of locales.
2023-05-06 07:22:29 +08:00
Penek Suksuda
aca79c1007
chore(tools): fix typos (#1018) 2023-05-06 07:10:08 +08:00
Song-Zi Vong
fe203417d9
feat: add a hook to insert custom metadata in head tag (#1015) 2023-05-06 07:10:08 +08:00
Cotes
e90461aa3c
perf(tools): avoid initialization interruption in single branch forks (#992) 2023-04-17 02:40:25 +08:00
Cotes
6f6e309741
chore(github): simplify PR template (#991) 2023-04-17 02:34:13 +08:00
Miha Tisnikar
42a700aa37
feat(i18n): add sl-SI.yml with slovenian translations (#989) 2023-04-17 01:37:49 +08:00
Song-Zi Vong
7ec31e8948
refactor: enhance the configurability of fonts (#986) 2023-04-17 01:31:49 +08:00
Cotes Chung
b63b65d743
chore(stylelint): optimize the rule for font-family variables (#987)
Turn off the rule `value-keyword-case` for `font-family`

Resolves #987
2023-04-16 09:08:54 +08:00
Song-Zi Vong
1719d81d00
fix(rss): double quotes in the post title will break the XML structure (#965) 2023-04-10 18:35:11 +08:00
Jörgen Ivarsson
fe7047959e
feat(i18n): added Swedish localization file (#969)
Nice PR @JorgenIvarsson, everything from the branch name to the commit messages perfectly meets the requirements. Thanks!
2023-04-10 06:23:03 +08:00
郭桓桓
d97f95fca0
feat(i18n): add Traditional Chinese (Taiwan) localization file (#961) 2023-04-02 22:13:22 +08:00
Cotes Chung
39b81aa4e0
docs: update issue template (#958)
Close #958
2023-03-31 21:44:22 +08:00
Cotes Chung
c45f399e65
chore(release): 5.6.1 2023-03-31 05:46:34 +08:00
Cotes Chung
8225174cb5
fix(deps): tocbot has no initialization detection (#957)
Resolves #957
2023-03-31 05:05:33 +08:00
Cotes Chung
8b4f99c87f
fix: pageviews not updated immediately 2023-03-31 04:58:21 +08:00
Cotes Chung
6f97636fb9
chore(build): set rollup watching path 2023-03-31 04:55:43 +08:00
Cotes Chung
bf199d779c
chore(deps): upgrade npm packages 2023-03-31 04:55:43 +08:00
Song-Zi Vong
6fec411c18
fix: mode-toggle leads to Disqus loading failure (#945) 2023-03-22 22:22:07 +08:00
Cotes Chung
0d9cec6abc
chore(release): 5.6.0 2023-03-18 02:07:58 +08:00
Cotes Chung
6e6b6479f5
docs: migrate upgrade details to the wiki 2023-03-18 02:07:14 +08:00
Cotes Chung
388efb1ae3
chore(tools): add JS dist to gem release 2023-03-18 02:03:16 +08:00
Cotes Chung
471e8c4018
chore(tools): resume git checkout in initialization 2023-03-18 01:49:34 +08:00
Cotes Chung
3cd81e7128
chore: recover accidentally deleted LQIP style 2023-03-18 01:49:34 +08:00
Cotes Chung
b85f6330de
feat(ux): turn home page posts into clickable cards (#895)
Resolves #895
2023-03-18 01:49:34 +08:00
Cotes Chung
111b82838d
style: fix scss lint issue
type: declaration-block-no-redundant-longhand-properties
2023-03-18 00:29:01 +08:00
Cotes Chung
e8e4901e34
fix: some console snippets will be incompletely copied
Sample:

```console
echo $PATH
```
2023-03-17 06:39:38 +08:00