Commit graph

175 commits

Author SHA1 Message Date
saicaca
8beeba81db feat: more readable error message for image not found 2024-09-20 01:18:33 +08:00
saicaca
085fd62a79 feat: add onload animation for banner 2024-09-20 01:18:33 +08:00
saicaca
8565724eb3 fix: fix the flickering caused by custom scrollbar initialization (#60) 2024-09-20 00:59:26 +08:00
saicaca
93209a5bba fix: fix the top margin of sticky sidebar (#184) 2024-09-20 00:34:48 +08:00
David V. Kimball
7a022cc190
feat: set og:type to article for posts (#183)
* New prop setOGTypeArticle sets og:type to "article" for posts, and "website" for every other page.

* Fixed error where I declared setOGTypeArticle twice.
2024-09-17 13:35:58 +08:00
saicaca
44fb628737 fix: fix navbar disappearing after link click (#182) 2024-09-16 13:26:41 +08:00
saica.go
f0754cae3f
perf: optimizing page transition (#178)
* perf: optimizing page transition

* fix: minor fixes
2024-09-13 20:14:03 +08:00
saicaca
31af084f8a feat!: front-matter language -> lang 2024-09-10 01:31:35 +08:00
saicaca
1af707ee6a fix: fix RSS build error 2024-09-04 23:13:58 +08:00
Marcos
a6bc4c00b0
fix: errors when themeColor.fixed is set to true (#160)
Prevent null errors in Navbar.astro by verifying DOM elements before attaching event listeners
2024-08-28 10:36:22 +08:00
Marcos
075cb8e10a
feat: add Spanish i18n (#157)
* Create es.ts

Added Spanish translation for site content and interface elements.

* Update translation.ts

Added Spanish (es) translation support to the language configuration.
2024-08-28 00:22:43 +08:00
Katsuyuki Karasawa
e9c8930559
refactor: improve type safety (#155)
* Fix to make it type safe.

* The build is failing, fix it.
2024-08-28 00:19:26 +08:00
Alan Ye
f79ee3482d
feat: add language as post property (#151)
* feat: add language as post property

* update frontmatter.json

* style: remove extra space

* fix: remove unnecessary replacements

* feat: add `language` field to `new-post.js`

* style: format code style

* fix: use `siteConfig.lang` in `jsonLd`

* fix: use `siteConfig` when `entry.data` was empty
2024-08-27 23:52:30 +08:00
pawarherschel
856c2bb2c0
fix: fix GitHub repo card not loading with empty description (#154) 2024-08-23 21:03:59 +08:00
saicaca
b358bddb10 perf: preload PhotoSwipe instead of waiting for user click 2024-08-06 22:21:25 +08:00
saicaca
0ad144add3 fix: fix errors and reformat code 2024-08-03 16:44:38 +08:00
saicaca
1f93499ece feat: use the first paragraph as the excerpt if description is not set 2024-08-03 16:03:03 +08:00
saicaca
9af6cf956a feat: style tweaks 2024-08-02 02:18:37 +08:00
saicaca
f96cf6fdae feat: some improvements for image zooming 2024-07-28 18:48:44 +08:00
dabuside
09e084fd5b fix: set the zoom width and height for network image (#136) 2024-07-28 18:48:43 +08:00
dabuside
51025f0ea7 feat: add photoswipe for image zoom (#135) 2024-07-28 18:47:19 +08:00
saicaca
336290a92f feat!: add credit configurations for banner image
BREAKING CHANGES: new mandatory fields added in `config.ts`
2024-07-27 22:13:14 +08:00
saicaca
f28ad1b8e6 feat: increase height of the banner on the homepage 2024-07-27 15:45:43 +08:00
saicaca
b0337a997e fix: siteConfig.banner.position not working 2024-07-27 15:45:43 +08:00
saicaca
b2da426627 fix: fix CDN link for katex 2024-07-26 23:08:50 +08:00
saicaca
96223c0b5a refactor: improve code quality 2024-07-21 18:41:03 +08:00
saicaca
003c644146 refactor: improve code quality 2024-07-21 15:49:22 +08:00
Dev_Nergis
743d8dd9c2
feat: add Korean i18n & README (#130)
* Fixed the issue where the hue value set in config was not applied

* Create README.ko-KR.md

* Update README.ja-JP.md

* Update README.zh-CN.md

* Update README.md

* Update README.ko-KR.md

* Update translation.ts

* Create ko_KR.ts

* Update ko_KR.ts

* Update ko_KR.ts

* Update ko_KR.ts

* Update setting-utils.ts

* Update config.ts

* ko_KR to ko

* fix

* Delete package-lock.json

* Update .gitignore

* Update .gitignore
2024-07-21 03:15:41 +08:00
saicaca
2622aabe07 fix: sort post list in RSS by time and exclude draft posts 2024-07-20 23:47:40 +08:00
saicaca
bd4f0e8b63 fix: failed GitHub API requests no longer break the href of repo card & style tweak 2024-07-20 23:25:03 +08:00
saicaca
f438ea4252 feat: style improvements (mainly animations) 2024-06-30 01:30:03 +08:00
saicaca
02865aa76e feat: improve button animation 2024-06-22 20:29:30 +08:00
saicaca
8bdad0b2fc feat: add support for GitHub style admonition syntax 2024-06-22 01:31:29 +08:00
saicaca
176b38a4cb fix: custom scrollbar does not reload after page switch 2024-06-22 01:11:27 +08:00
saicaca
960e85f92d fix: extra empty lines in codeblocks still displayed in some cases 2024-06-22 00:49:30 +08:00
saicaca
b70a01a43a fix: style tweaks for copy-code button 2024-06-21 22:37:39 +08:00
Kuroki_Tsuki
88a7414625 feat: copy button for code blocks (#67)
* Add  code copy

* fix: safari copyButton style

* fix: addPreCopyButton up time

* modify: CopyButton style

* fix: Duplicate rendering issue with copy button
2024-06-21 22:27:23 +08:00
baka-gourd
815692899d
fix: add missing i18n for Search (#102)
* feat(i18n): add missing `Search` key

* fix: update i18n text

---------

Co-authored-by: saicaca <zephyird@gmail.com>
2024-06-21 19:39:13 +08:00
saicaca
5cfc78ef65 fix: hide the extra empty line in code blocks 2024-06-21 19:29:54 +08:00
Lry722
5868cddcb6
feat: add option position for banner image (#106) 2024-06-10 02:03:57 +08:00
saicaca
ce36ba37c5 fix: profile-card style tweak 2024-06-08 22:52:05 +08:00
saicaca
5dd1287255 fix: fix a style bug in the tag list (#41, #93) 2024-06-07 00:16:25 +08:00
xingo xu
c3ac8d9728
feat: light/dark modes switch immediately with the system theme (#95) 2024-06-06 01:20:05 +08:00
Joey Chen
3f4e7e9f97
feat: enhanced meta for social sharing (part 1) (#66) 2024-06-06 00:21:10 +08:00
saicaca
12e1b151a7 fix: fix base path not applied to mobile nav menu 2024-05-25 01:52:31 +08:00
saicaca
47c65cd551 docs: update example posts 2024-05-03 02:24:01 +08:00
saicaca
39797fd677 fix: some fixes for admonition and GitHub repo card 2024-05-03 02:24:01 +08:00
Fabrizio
e1dae88515 feat: add GitHub repo card, admonitions (#77)
* Added remark-directive, unist-util-visit

* Add rehype custom components for Github, Admonitions

* pnpm

* Update pnpm-lock

* Corrected hastscript requierement

* Change ad- prefix so adblocks dont block content
2024-05-03 01:37:31 +08:00
saicaca
5e4ae01af6 docs: add some comments to config.ts 2024-05-01 12:35:36 +08:00
librarian
9761ed75c5
feat: option to control whether site visitors can change the theme color (#28)
* chore: rebase onto main branch

* fix: rename the option

---------

Co-authored-by: saicaca <zephyird@gmail.com>
2024-05-01 12:14:15 +08:00
Jayyyu1w
9d82d25feb
fix: set html lang to siteConfig lang (#73) 2024-05-01 01:08:21 +08:00
saicaca
873dbe3189 feat: basic post structured data for SEO 2024-04-29 17:27:14 +08:00
saicaca
410902a767 fix: make base in astro config work 2024-04-29 17:09:52 +08:00
saicaca
8ce1c7ab6e fix: load stored theme before rendering 2024-04-29 12:52:50 +08:00
saicaca
163ed17ae6 fix: style tweak 2024-04-29 12:52:28 +08:00
saica.go
e8cbb7a829
feat: option to follow the system-wide light/dark mode (#71) 2024-04-28 12:43:10 +08:00
Joey Chen
e37a724275
feat: using rel="me" to verify ownership for websites (#62)
Verify the target link is presented by the same person: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/me
2024-04-26 23:19:27 +08:00
saicaca
94a9e9757d feat: multiple custom favicons 2024-04-23 03:03:31 +08:00
Joey Chen
bd468054c2 feat: allow user to customize favicon (#47)
* feat: add basic custom favicon feature

* add auto-switch icon

* revert to the original setting `false`
2024-04-23 03:03:31 +08:00
CorrectRoad
582e76cf43
feat: add dynamic descript to meta head (#56)
* feat: add dynamic descript to meta head

* revert code
2024-04-23 00:04:43 +08:00
strn
6d9259808a
fix: we're in 2024 :) (#51)
* small typo: we're in 2024 :)

* Update LICENSE
2024-04-23 00:01:17 +08:00
CorrectRoad
91773fc520
feat: add sitemap.xml (#33)
Co-authored-by: saica.go <zephyird@gmail.com>
2024-04-22 23:48:31 +08:00
CorrectRoad
e80999669a
feat: add RSS xml (#34)
* feat: add RSS xml

---------

Co-authored-by: saicaca <zephyird@gmail.com>
2024-04-22 23:42:47 +08:00
恐咖兵糖
a1775030ae docs: update example posts
remove extra double quotes
2024-04-05 12:33:07 +08:00
saicaca
df30781cdc fix: onload animation tweaks 2024-03-13 01:32:54 +08:00
saicaca
2ff9b8544e feat: onload animation for article pages 2024-03-12 18:39:25 +08:00
saicaca
dfa863369b feat: onload animation 2024-03-12 16:13:10 +08:00
saicaca
a80d69d843 feat: use Swug for transition animations instead of ViewTransitions 2024-03-12 14:04:58 +08:00
saicaca
e64bd923da fix: a11y fixes 2024-03-12 12:37:49 +08:00
saicaca
d68f26a74f fix: minor fixes 2024-02-18 18:26:40 +08:00
saicaca
af29b9160f refactor: code cleanup 2024-02-18 18:26:40 +08:00
saicaca
3cd21c2da9 refactor: rewrite DisplaySettings and Search using Svelte 2024-02-18 18:26:40 +08:00
saicaca
90070d06c1 fix: url /page/1 -> /, /page/2 -> /2 2024-02-18 18:26:40 +08:00
saicaca
bd17b39fd2 fix: fix widget content collapsing not working 2024-02-12 01:12:27 +08:00
saicaca
8b8a765d56 feat: add line numbers for code blocks 2024-01-25 16:09:00 +08:00
saicaca
d831f4f5ca fix: don't load Pagefind and return fake search results for dev environment 2024-01-25 12:27:54 +08:00
saica.go
79ec8030cc
feat: implement post search using Pagefind (#12) 2024-01-24 12:28:16 +08:00
saicaca
31bb0d576e fix: don't initialize the overlay scrollbar if there is a native one 2024-01-22 12:02:54 +08:00
saicaca
4316654a98 fix: fix custom code font doesn't work 2024-01-22 11:35:54 +08:00
saicaca
e428b1d5a5 feat: mobile style improvements 2024-01-22 11:25:56 +08:00
saica.go
025953bca3
feat: much better mobile view design (#11) 2024-01-22 02:06:24 +08:00
saicaca
6ba4db0ef8 docs: update example posts 2024-01-21 20:22:14 +08:00
saicaca
e0b93eb63c feat: make 'uncategorized' a category 2024-01-21 20:21:04 +08:00
saicaca
23533e9ac9 fix: minor fixes 2024-01-21 20:19:34 +08:00
saicaca
3fcb566a54 feat: use relative paths for cover images 2024-01-21 16:34:37 +08:00
L4Ph
197d524b53
feat: add FrontMatter CMS, biome, translation, etc.
* add Frontmatter CMS

* add biome

* update

* update

* fixed & add docs

* fix translation.ts

* fix translation
2024-01-21 12:54:41 +08:00
saicaca
f9a78b3e3b feat: remove support for nested categories 2023-12-14 13:44:20 +08:00
saicaca
8848a25ec5 fix: make heading anchors # unselectable 2023-11-23 23:26:05 +08:00
saicaca
8c6c7c9364 fix: back-to-top button breaks layout
https://github.com/saicaca/hexo-theme-vivia/issues/42
2023-11-23 23:24:37 +08:00
saicaca
4831f9f67f fix: some style fixes for the license block 2023-11-12 19:37:56 +08:00
saicaca
83e22e7e59 feat: add heading anchor links 2023-11-12 19:35:53 +08:00
saicaca
cff918dab3 fix: add JetBrains Mono as default code font 2023-11-10 18:25:18 +08:00
EveSunMaple
8d2d2de9b8
fix: update code font (#4) 2023-11-10 18:09:32 +08:00
saicaca
239c546d5f fix: fix build fail 2023-11-09 12:01:32 +08:00
saicaca
b0d265b42b fix: site url and base dir should be set in astro.config.mjs 2023-11-08 23:30:42 +08:00
saicaca
d918a2ef3d feat: overlay scrollbar 2023-11-08 15:26:18 +08:00
saicaca
569a606586 feat: overlay scrollbar 2023-11-08 15:24:21 +08:00
saicaca
3798fd6b64 fix: style improvements 2023-11-08 10:46:27 +08:00
saicaca
b171ad463e feat: add front-matter variable category 2023-11-07 14:46:29 +08:00
saicaca
2b000f7e55 fix: style improvements for mobile view 2023-11-06 21:56:53 +08:00