867b82c2c2
doc: update manual
2025-02-14 00:37:44 +08:00
478254ce55
feat: post cover as banner
...
- Fix the path wrong when use relative path as post cover.
- Use swup parallal plugin to switch banner.
- Delete unnecessary render cache, because astro already have it.
2025-02-14 00:18:18 +08:00
a16a9cf07a
fix: banner tip opacity
2025-02-13 21:50:08 +08:00
296315a021
feat: banner scroll tip fade when scroll
2025-02-13 21:41:02 +08:00
25a81aff6c
feat: banner scroll tips
2025-02-13 21:32:25 +08:00
1562d19ab0
fix: toc in no headings post
2025-02-13 21:06:02 +08:00
c85740f32e
feat: new swup theme
2025-02-13 18:49:45 +08:00
c8e401b03d
fix: random post
2025-02-13 17:57:49 +08:00
7b13e0103b
fix: banner translate
2025-02-13 17:50:44 +08:00
88731a898e
refactor: remove GlobalBackground
2025-02-13 17:44:44 +08:00
4ee904d538
feat: banner
2025-02-13 17:42:12 +08:00
a046bd7870
refactor: move global component to GlobalLayout
2025-02-13 14:40:59 +08:00
7b543259b3
feat: migrate to swup
...
- Add `@swup/astro` dependence and set base config.
- Refactor `SideToolBar.astro` to fix swup compatibility, now it's using css instead of js to show the hide part of the toolbar.
- Delete transition attributes of Astro view transition API.
2025-02-13 12:45:40 +08:00
ae299f4ca6
refactor: refactor layouts
2025-02-12 22:04:20 +08:00
9794a90660
fix: table class
2025-02-12 19:04:59 +08:00
dfe9eee3b2
feat: Collapse user component
2025-02-12 19:04:40 +08:00
8c85b9d8d3
refactor: disable unused shiki transformers
...
Disabled transformers using deprecated shiki API, which caused warnings in the console.
2025-02-12 18:40:51 +08:00
839b7e628d
docs: update readme
2025-02-12 18:30:29 +08:00
42ae0a0318
feat: Repl user component
2025-02-12 18:26:32 +08:00
c8f92bed49
feat: static prettier codeblock
2025-02-12 18:19:56 +08:00
66234aefe9
feat: github blockquote icons
2025-02-12 15:43:39 +08:00
16eb26d01b
refactor: update plugins to TypeScript
2025-02-12 13:58:06 +08:00
26fec11338
refactor: export user components
...
Consolidate and organize all user-related component exports in a single file.
2025-02-12 12:46:31 +08:00
b3fee3796c
docs: update doc
2025-02-12 12:42:19 +08:00
d3694451ef
feat: vscode settings
...
Add MDX support in VSCode settings and recommendations
2025-02-12 12:21:20 +08:00
f218cc88a2
feat: use MDX instead of directives
2025-02-12 12:17:50 +08:00
b5bc27a7a3
feat: inline component
2025-02-11 23:32:46 +08:00
46d0fa301b
feat: image zoom
2025-02-11 23:32:13 +08:00
a681f42b7d
chore: update dependencies
2025-02-11 17:58:50 +08:00
12f7d3c41f
docs: fix grammar mistakes
2025-02-11 17:18:05 +08:00
d9df39dc40
fix: code block blank line
2025-02-11 17:03:52 +08:00
f5e1631be2
docs: example post publish time
2025-02-11 16:57:15 +08:00
438aa43d7a
perf: styles enhancement
2025-02-11 16:56:15 +08:00
08522cdf60
docs: add doc of components
2025-02-11 16:55:21 +08:00
d6dd2a7458
feat: markdown component
...
- use `remark-directive` and `rehype-components` to render markdown components.
- add `tabs` component.
2025-02-11 16:54:49 +08:00
544f2b1aaa
fix: category bar props
2025-02-11 00:05:25 +08:00
3df9b613ee
perf: tags list style
2025-02-10 21:01:04 +08:00
8c92120fa0
feat: site info card
2025-02-10 20:56:26 +08:00
b0884c18d0
refactor: get archive
...
`getTags` and `getCategories` now return a map of tag/category name to the number of posts with that tag/category.
2025-02-10 20:54:46 +08:00
e760d2ea89
refactor: move render cache to content utils
2025-02-10 20:52:59 +08:00
3ab4d4ca51
fix: import path
2025-02-10 17:32:48 +08:00
8fa5780125
fix: locale time
2025-02-10 17:31:23 +08:00
f8e7dd3cc8
refactor: move aside component to aside folder
2025-02-10 17:30:50 +08:00
40cd636684
feat: optional force convert to relative time
2025-02-10 17:28:13 +08:00
cc67ee1ef3
refactor: cache post render result
2025-02-10 17:26:28 +08:00
853a8ce292
feat: rss content
2025-02-10 16:11:44 +08:00
37bf6b7122
feat: relative time
...
convert time tag to relative time (only for recent week)
2025-02-10 15:54:26 +08:00
6d211977dc
fix: locale date format
2025-02-10 15:32:33 +08:00
3e9c1f0975
feat: wrap time with time tag
2025-02-10 13:35:21 +08:00
6847e436df
refactor: delete useless class
2025-02-10 13:31:07 +08:00