Commit Graph

9 Commits

Author SHA1 Message Date
tangly1024
e56ec32f20 Merge branch 'main' into feat/post/extract-page-content 2025-07-27 21:23:37 +08:00
anime
93df743559 feat(algolia): replace error throw with console.error for missing config
Change error handling from throwing an exception to logging an error when
Algolia configuration is missing. This provides better error reporting
without breaking the application flow.
2025-07-08 15:37:59 +08:00
anime
55c39cbab8 feat(algolia): implement global client initialization and reuse
- Add global Algolia client and index initialization
- Initialize client once and reuse across functions
- Remove redundant client initialization in individual functions
- Add configuration validation during initialization
2025-07-08 01:41:50 +08:00
anime
8d200120fc feat(algolia): add data deletion functionality and execute in index.js
- Add `checkDataFromAlgolia` function to identify and delete unused data
- Implement `deletePostDataFromAlgolia` helper function
- Execute Algolia data check during homepage generation
- Handle password-protected and draft pages deletion
2025-07-08 01:20:59 +08:00
anime
7ce6ad0c2f feat(algolia): add data deletion functionality and execute in index.js
- Add `checkDataFromAlgolia` function to identify and delete unused data
- Implement `deletePostDataFromAlgolia` helper function
- Execute Algolia data check during homepage generation
- Handle password-protected and draft pages deletion

Fixes 1526
2025-07-08 01:20:58 +08:00
anime
b4ba7d8f23 refactor(getPageContentText): Relocate getPageContentText to a dedicated file and eliminate the redundant isIterable function. 2025-07-08 00:32:04 +08:00
LooseLi
84236f3cff fix: 修复 eslint 报错 2025-05-27 10:06:47 +08:00
tangly1024.com
2b3311e845 fix algolia 2024-05-27 17:47:29 +08:00
tangly1024
444e236ca6 整理lib目录 2024-03-10 13:08:18 +08:00