Commit Graph

225 Commits

Author SHA1 Message Date
dependabot[bot]
ad33c58dc7 chore(deps): bump svelte in the patch-updates group (#388)
Some checks failed
Code quality / quality (push) Failing after 4s
Build and Check / Astro Check for Node.js 22 (push) Failing after 4s
Build and Check / Astro Check for Node.js 23 (push) Failing after 4s
Build and Check / Astro Build for Node.js 22 (push) Failing after 4s
Build and Check / Astro Build for Node.js 23 (push) Failing after 4s
Bumps the patch-updates group with 1 update: [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte).


Updates `svelte` from 5.25.8 to 5.25.9
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.25.9/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.25.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-09 07:57:25 +09:00
jump-and-jump
a19450ffb2 fix: The previous and next pages carry baseurl (#292)
Some checks failed
Code quality / quality (push) Failing after 11s
Build and Check / Astro Check for Node.js 22 (push) Failing after 30s
Build and Check / Astro Check for Node.js 23 (push) Failing after 3s
Build and Check / Astro Build for Node.js 22 (push) Failing after 4s
Build and Check / Astro Build for Node.js 23 (push) Failing after 4s
2025-04-08 23:27:12 +09:00
Katsuyuki Karasawa
51cc65eba4 add CI (#384)
* add biome ci actions

* feat: add build and check workflow for Astro with Node.js support

* refactor: streamline Node.js setup in Astro CI workflow and remove unused pnpm matrix
2025-04-08 23:12:28 +09:00
Katsuyuki Karasawa
286b050fa8 format all code (#386) 2025-04-08 23:08:31 +09:00
Katsuyuki Karasawa
7ea2f7f40f refactor: remove unused props from components and improve error handling in about page (#385) 2025-04-08 22:44:52 +09:00
jump-and-jump
c8142d0ac5 fix: multiple registration events lead to incorrect click events (#305) 2025-04-08 21:49:52 +09:00
Matas
46415dec88 fix: svelte component definition in the html code to use client:only="svelte" (#336) 2025-04-08 21:37:59 +09:00
dependabot[bot]
b409c4259c chore(deps): bump the minor-updates group with 3 updates (#381)
Bumps the minor-updates group with 3 updates: [@swup/astro](https://github.com/swup/astro), [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) and [sharp](https://github.com/lovell/sharp).


Updates `@swup/astro` from 1.5.0 to 1.6.0
- [Release notes](https://github.com/swup/astro/releases)
- [Changelog](https://github.com/swup/astro/blob/master/CHANGELOG.md)
- [Commits](https://github.com/swup/astro/compare/1.5.0...1.6.0)

Updates `astro` from 5.5.6 to 5.6.1
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@5.6.1/packages/astro)

Updates `sharp` from 0.33.5 to 0.34.1
- [Release notes](https://github.com/lovell/sharp/releases)
- [Commits](https://github.com/lovell/sharp/compare/v0.33.5...v0.34.1)

---
updated-dependencies:
- dependency-name: "@swup/astro"
  dependency-version: 1.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-updates
- dependency-name: astro
  dependency-version: 5.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-updates
- dependency-name: sharp
  dependency-version: 0.34.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-08 21:34:05 +09:00
dependabot[bot]
055ab86fbf chore(deps): bump the patch-updates group with 2 updates (#380)
Bumps the patch-updates group with 2 updates: [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) and [typescript](https://github.com/microsoft/TypeScript).


Updates `svelte` from 5.25.6 to 5.25.8
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.25.8/packages/svelte)

Updates `typescript` from 5.8.2 to 5.8.3
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)
- [Commits](https://github.com/microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.25.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch-updates
- dependency-name: typescript
  dependency-version: 5.8.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-08 08:44:40 +09:00
Hasenpfote
b86adea157 feat: exclude Katex elements from Pagefind indexing (#307) 2025-04-06 10:51:15 +09:00
Matas
ac75858fd2 fix: check whether the component is defined already (#337)
Co-authored-by: Matas <automatasz@users.noreply.github.com>
Co-authored-by: Katsuyuki Karasawa <4ranci0ne@gmail.com>
2025-04-05 23:48:47 +09:00
会做饭的二哈
477d184fc5 Update WidgetLayout.astro (#333)
防止重复注册报错
2025-04-05 23:45:33 +09:00
dependabot[bot]
0f73053fc7 chore(deps): bump astro-compress in the patch-updates group (#374)
Bumps the patch-updates group with 1 update: [astro-compress](https://github.com/PlayForm/Compress).


Updates `astro-compress` from 2.3.7 to 2.3.8
- [Release notes](https://github.com/PlayForm/Compress/releases)
- [Changelog](https://github.com/PlayForm/Compress/blob/AstroCompress/v2.3.8/CHANGELOG.md)
- [Commits](https://github.com/PlayForm/Compress/compare/AstroCompress/v2.3.7...AstroCompress/v2.3.8)

---
updated-dependencies:
- dependency-name: astro-compress
  dependency-version: 2.3.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-05 23:44:23 +09:00
dependabot[bot]
6ce8fb1384 chore(deps): bump svelte in the patch-updates group (#371)
Bumps the patch-updates group with 1 update: [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte).


Updates `svelte` from 5.25.5 to 5.25.6
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.25.6/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.25.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-02 06:19:59 +09:00
Katsuyuki Karasawa
b016bd096c fix: biome linter error (#369)
* fix(remark-excerpt): change loop variable to const for better readability

* fix(rehype-component-github-card): correct string quotes for consistency in title element

* fix(remark-directive-rehype): update biome-ignore comment for clarity on linting rule

* fix(rehype-component-admonition): use optional chaining for properties check and improve formatting

* fix(Pagination): improve equality checks and enhance code readability

* fix(TOC): correct equality check for consistency in removeTailingHash function

* fix(ImageWrapper): update import path to use 'node:path' for consistency

* fix(PostCard): update import path to use 'node:path' for consistency
2025-04-01 20:29:38 +09:00
Katsuyuki Karasawa
c106a639f4 fix(biome): update schema version and refine configuration settings (#368) 2025-04-01 20:09:09 +09:00
dependabot[bot]
38be68baf5 chore(deps): bump the patch-updates group with 4 updates (#361)
Bumps the patch-updates group with 4 updates: [@astrojs/svelte](https://github.com/withastro/astro/tree/HEAD/packages/integrations/svelte), [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro), [astro-compress](https://github.com/PlayForm/Compress) and [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte).


Updates `@astrojs/svelte` from 7.0.8 to 7.0.9
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/svelte/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/svelte@7.0.9/packages/integrations/svelte)

Updates `astro` from 5.5.5 to 5.5.6
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@5.5.6/packages/astro)

Updates `astro-compress` from 2.3.6 to 2.3.7
- [Release notes](https://github.com/PlayForm/Compress/releases)
- [Changelog](https://github.com/PlayForm/Compress/blob/AstroCompress/v2.3.7/CHANGELOG.md)
- [Commits](https://github.com/PlayForm/Compress/compare/AstroCompress/v2.3.6...AstroCompress/v2.3.7)

Updates `svelte` from 5.25.3 to 5.25.5
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.25.5/packages/svelte)

---
updated-dependencies:
- dependency-name: "@astrojs/svelte"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch-updates
- dependency-name: astro
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch-updates
- dependency-name: astro-compress
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch-updates
- dependency-name: svelte
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 09:41:43 +09:00
アピヌ
92c659a7b8 fix: MarkdownIt String error when md file body is empty (#303)
* Fix: MarkdownIt String error

Fixed MardownIt String error that occurs when a md file body is empty

* fix dependabot.yml

* fix parsing error

* refactor: simplify content handling in RSS feed generation

---------

Co-authored-by: アピヌ <apynu@users.noreply.github.com>
Co-authored-by: L4Ph <4ranci0ne@gmail.com>
Co-authored-by: Katsuyuki Karasawa <me@l4ph.moe>
2025-03-31 01:32:05 +09:00
dependabot[bot]
7a5ea7a1b3 chore(deps-dev): bump @types/sanitize-html in the minor-updates group (#357)
Bumps the minor-updates group with 1 update: [@types/sanitize-html](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sanitize-html).


Updates `@types/sanitize-html` from 2.13.0 to 2.15.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sanitize-html)

---
updated-dependencies:
- dependency-name: "@types/sanitize-html"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-29 11:32:05 +09:00
0bipinnata0
b826152352 fix(blog): restore prev/next post navigation buttons (#346)
Co-authored-by: 0bipinnata0 <0bipinnata0@users.noreply.github.com>
2025-03-28 22:28:17 +09:00
Katsuyuki Karasawa
d15139ad11 Merge pull request #355 from saicaca/dependabot-npm_and_yarn-minor-updates-dc79fc5a05
chore(deps): bump the minor-updates group with 2 updates
2025-03-27 23:46:02 +09:00
dependabot[bot]
0da9d3dd9c chore(deps): bump the minor-updates group with 2 updates
Bumps the minor-updates group with 2 updates: [stylus](https://github.com/stylus/stylus) and [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome).


Updates `stylus` from 0.63.0 to 0.64.0
- [Release notes](https://github.com/stylus/stylus/releases)
- [Changelog](https://github.com/stylus/stylus/blob/dev/Changelog.md)
- [Commits](https://github.com/stylus/stylus/compare/0.63.0...0.64.0)

Updates `@biomejs/biome` from 1.8.3 to 1.9.4
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/CHANGELOG_v1.md)
- [Commits](https://github.com/biomejs/biome/commits/cli/v1.9.4/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: stylus
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-updates
- dependency-name: "@biomejs/biome"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-27 14:41:21 +00:00
Katsuyuki Karasawa
4d9e376d93 Fix Dependabot config (#354)
* fix dependabot.yml

* fix parsing error
2025-03-27 23:38:50 +09:00
Katsuyuki Karasawa
148628fd70 Merge pull request #353 from L4Ph/feature/deps-update
update dependencies
2025-03-27 23:28:33 +09:00
L4Ph
73f53600f5 add dependabot config 2025-03-27 23:21:38 +09:00
L4Ph
5bd83a949a update dependencies(patch or minor) 2025-03-27 23:18:56 +09:00
L4Ph
2773f2e182 pnpm dlx @astrojs/upgrade 2025-03-27 23:10:04 +09:00
Katsuyuki Karasawa
b24c1cfaf8 Merge pull request #306 from wsafight/error5
refactor: remove useless code
2025-03-27 22:27:56 +09:00
Katsuyuki Karasawa
66ef2ac7ca Merge pull request #345 from UnclePi979/feat/script-enhancement
feat: add directory creation for post folder
2025-03-27 22:10:55 +09:00
Katsuyuki Karasawa
2fc2dd3200 Merge pull request #298 from Vulwsztyn/biome_check_flag_update
fix: change deprecated --apply flag to --write
2025-03-27 21:57:05 +09:00
Uncle Pi
65112e5cb0 feat: add directory creation for post folder
- Implement recursive directory creation for post folder
- Ensure that parent directories are created if they don't exist
2025-03-11 20:59:18 +08:00
jump-and-jump
fdbd0c56bf refactor: remove useless code 2025-01-25 22:55:38 +08:00
Artur Mostowski
d141906251 fix: change deprecated --apply flag to --write 2025-01-21 18:57:53 +01:00
Hasenpfote
8287e42e6e fix: display of long equations is cut off (#287) 2025-01-19 16:11:51 +08:00
noeFly
18cc3e0d4f fix: output incorrect symbol in console (#290) 2025-01-19 15:59:37 +08:00
saicaca
1b4b859e87 fix: remove obsolete astro:after-swap listener
which can be triggered in Astro 5.0 even with Swup, causing duplicate initialization
2025-01-17 03:55:30 +08:00
Katsuyuki Karasawa
4a4c19a3ed chore: update dependencies, including Astro v5. (#244)
* update dependency

* update dependencies
2025-01-17 03:33:54 +08:00
Zulfikar Ali Muzakir
2244a77935 fix: search component missing from PROD environment (#268)
Update search component to only be client side for svelte.
2025-01-13 00:55:05 +08:00
Katsuyuki Karasawa
081ec35b07 feat: self-host KaTeX CSS (#279) 2025-01-12 23:12:48 +08:00
Carlos Company
baa894183b fix: add padding to ButtonLink badge div (#251)
When the number of posts in a category reaches 4 or even 3 digits the component does not look correct.
2024-12-31 17:28:17 +08:00
foxton9
589c593e53 fix: revise TOC logic (#252)
fix bugs in fallback, markVisibleSection; refine rAF and connectedCb
2024-12-31 17:27:40 +08:00
twystpaki
588a536e87 feat: add Thai translation (#264)
* Create th.ts

Created i18n Thai translation file.

* Update translation.ts

Added Thai language support.

* Update config.ts

Added Spanish (es) and Thai (th) to commented possible values for `lang` key.

* Create README.th.md

Created Thai version of README.

* Update README.md

Added navigation/link to Thai version of README.
2024-12-31 17:02:23 +08:00
Carlos Company
4483433dd7 fix: removing pointer-events from BackToTop wrapper (#259)
The back-to-top wrapper element is hidden but blocks hover events from other elements that may overlap in the same position.
NOTE that this does not affect any component in the current design. I happened to notice this on a different fork where it was causing an issue and therefore I suggest the change but feel free to ignore this if you think is not relevant enough or could cause problems with the back to top component.
2024-12-31 17:01:47 +08:00
saicaca
cbf17e880d fix: fix incorrect TOC highlight (fix #249) 2024-12-07 21:59:17 +08:00
saicaca
e44628364b fix: small bugs with GitHub repo cards (fix #242) 2024-12-07 18:50:19 +08:00
saicaca
8cd04d9ceb fix: fix TOC highlight appearing on pages without a TOC 2024-12-07 18:42:05 +08:00
saicaca
94184f381b fix: fix TOC highlight for non-ASCII titles (#246) 2024-12-07 04:18:54 +08:00
saicaca
eb3f9f2676 fix: fix incorrect position of TOC indicator 2024-12-06 20:53:24 +08:00
saicaca
9ab977fe4c feat: improve the style of the TOC component 2024-12-06 19:20:58 +08:00
foxton9
e816120045 feat: TOC highlight and scroll sync (#216) 2024-12-06 19:20:57 +08:00