Skip to content

Commit cfdc4b2

Browse files
committed
Squashed commit of the following:
commit 30d8e7647fd774442f6d5893f8ba66b1ba45ed0f Merge: bb612ded 2ea797f3 Author: tangly1024 <[email protected]> Date: Sun Jan 5 20:02:42 2025 +0800 Merge pull request #3121 from tangly1024/release/4.8.1 Release/4.8.1 commit 2ea797f375c20f48e7620ceb9550d92f4e0b7d3a Merge: ef24a6db bb612ded Author: tangly1024 <[email protected]> Date: Sun Jan 5 20:00:11 2025 +0800 Merge branch 'main' into release/4.8.1 commit bb612dede292aa9958423800e7112a20e8b589b4 Author: tangly1024 <[email protected]> Date: Sun Jan 5 19:57:25 2025 +0800 缓存相关代码整合 commit 497915655c36e30837aaf9efc7de94aadfbdca67 Author: tangly1024 <[email protected]> Date: Sun Jan 5 19:39:04 2025 +0800 配置文件整理 commit 01011c0f23f303d7f43573fd1e255bf67d0770ca Merge: 5b115b75 ff565a12 Author: tangly1024 <[email protected]> Date: Sun Jan 5 19:30:29 2025 +0800 Merge branch 'pr/qixing-jk/3117' commit 5b115b75b1b94c600de5dc3a7e051514c3c41dde Merge: c13a1022 704a4ebe Author: tangly1024 <[email protected]> Date: Sun Jan 5 19:26:44 2025 +0800 Merge branch 'pr/qixing-jk/3113' commit c13a1022405e825ca498b2400ccf7c7e201a4dcb Merge: 17f69631 732c16d7 Author: tangly1024 <[email protected]> Date: Sun Jan 5 19:21:58 2025 +0800 Merge pull request #3114 from qixing-jk/perf-vercel-data-cache Perf vercel data cache commit 17f6963135351deff0567dcf32ec1b5af42bdfe3 Merge: 8bfb281a 7a2520d4 Author: tangly1024 <[email protected]> Date: Sun Jan 5 19:21:01 2025 +0800 Merge pull request #3112 from qixing-jk/feat-switch-case-share-buttons 增强分享按钮的可读性和tags功能: 给Facebook/Twitter/Tumblr和Workplace 添加分享按钮的tags功能 commit 8bfb281aed09d5b5011ffbbd4914dadb37cdd29d Merge: 892a138d 7ff6f4e7 Author: tangly1024 <[email protected]> Date: Sun Jan 5 19:20:25 2025 +0800 Merge pull request #3110 from Phillweston/original-main Change the spelling of the STARTER_CTA_DESCRIPTION commit 892a138df6f77712af5ad5c57073bcb78cfe01ba Merge: 86345787 9f8ff0a5 Author: tangly1024 <[email protected]> Date: Sun Jan 5 19:19:52 2025 +0800 Merge pull request #3111 from qixing-jk/feat-data-cache 优化缓存行为和调用方式 commit 9f8ff0a549f7e46ab3b32c46bc3f4610d89ad058 Merge: 5ae4680e 86345787 Author: tangly1024 <[email protected]> Date: Sun Jan 5 19:15:55 2025 +0800 Merge branch 'main' into feat-data-cache commit 8634578735690978e81023b9ee7214dfb5d568c3 Merge: f3b0127b 019f5e47 Author: tangly1024 <[email protected]> Date: Sun Jan 5 19:14:41 2025 +0800 Merge pull request #3109 from qixing-jk/feat-Notion-API feat(使用全局变量的 notionAPI): 避免多次创建NotionAPI,有效利用内置的concurrency并发请求限制 commit f3b0127b33aa3aba83bc2ae9f1266af81cd5b0fa Merge: 93939ced d6dee96a Author: tangly1024 <[email protected]> Date: Sun Jan 5 19:13:42 2025 +0800 Merge pull request #3108 from Hyphen-H/enhancement/spoiler-text-css 优化spoiler-text.css,平滑过渡符合现代审美 commit ff565a1204bfde0c48480e684c0e6d7ba91309c7 Author: anime <[email protected]> Date: Sun Jan 5 15:39:15 2025 +0800 feat(导出RedisClient对象,便于使用其他类型方法): commit 93939cedf5bbee1525b227beaa8ef14f07b1686e Author: tangly1024 <[email protected]> Date: Sun Jan 5 15:22:55 2025 +0800 更新 package.json 4.8.1版本号 commit 97dd43e502f9c07c4c8639cb5d85138093113c39 Merge: 2831d2fb d708ea38 Author: tangly1024 <[email protected]> Date: Sun Jan 5 14:59:25 2025 +0800 Merge pull request #3116 from tangly1024/release/4.8.1 Release/4.8.1 commit ef24a6dbe86298d597652292edbe9ef0c45a1b71 Author: tangly1024 <[email protected]> Date: Sun Jan 5 14:57:02 2025 +0800 文章自动上下架功能调试 commit d708ea38fb3f6e360aafb0c088f745a1305f6fa4 Author: tangly1024 <[email protected]> Date: Sun Jan 5 14:41:01 2025 +0800 build fix commit 568a9238a27a1a1d249ad865831290a400b40ebd Author: tangly1024 <[email protected]> Date: Sun Jan 5 14:37:31 2025 +0800 build commit 31f08266b269154114aaccd5fd46d1d298c9e499 Author: tangly1024 <[email protected]> Date: Sun Jan 5 14:34:15 2025 +0800 定时发布:自动上下架 commit 11eb466e96a29e52bb0135eaabc37f44554a5e8d Author: tangly1024 <[email protected]> Date: Sun Jan 5 12:41:00 2025 +0800 配置文件整体重构 commit 3ce8e8a6815b8359456f9317dfbdb7f13543d134 Author: anime <[email protected]> Date: Sun Jan 5 02:22:58 2025 +0800 feat(支持配置REDIS_URL): commit ee7bbfc209932491820ad51517c27c5323f2fe81 Author: anime <[email protected]> Date: Sun Jan 5 01:57:19 2025 +0800 feat(初步完成Redis缓存功能): commit 442dd87828e0740cb0626aa11c29aa70c2ac404f Author: anime <[email protected]> Date: Sun Jan 5 01:13:04 2025 +0800 build(添加 ioredis): 供Redis缓存使用 commit 7a2520d488382fbd3ea37a23acda529ef86ab641 Author: anime <[email protected]> Date: Sat Jan 4 20:24:46 2025 +0800 perf(使用switch case而非连续的if): 虽然没啥太大的速度优化,但是代码可读性更强 commit c6014ddb864b844d0de4919204b39bac9ddc670f Author: qi_xing_jk <[email protected]> Date: Mon Mar 4 21:12:43 2024 +0800 feat(增强分享按钮的tags功能): 给Facebook/Twitter/Tumblr和Workplace 添加分享按钮的tags功能 (cherry picked from commit 1cde3dd8b9cfd2bc781ea03efb542e5f9132a1f8) commit 732c16d717d2e67b09275a01dd5a8600ccd11e81 Author: anime <[email protected]> Date: Sat Jan 4 15:06:13 2025 +0800 feat(使用const 直接引入缓存实现类): 避免多次调用判断 commit b93944fe8fb25dcee303c84336874529347d3ab3 Author: anime <[email protected]> Date: Sat Jan 4 14:58:17 2025 +0800 perf(优化Vercel中的缓存行为): 去除在Vercel环境中无意义的缓存读写 commit 7ff6f4e7fe04127533e9d8fc6214b3ea89e1e1a7 Author: Phillweston <[email protected]> Date: Sat Jan 4 14:31:40 2025 +0800 Change the spelling of the STARTER_CTA_DESCRIPTION commit 019f5e470f2359e4ac146b496fb80c0fc7a4940d Author: anime <[email protected]> Date: Sat Jan 4 01:00:49 2025 +0800 feat(使用全局变量的 notionAPI): 避免多次创建NotionAPI,有效利用内置的concurrency并发请求限制 commit d6dee96aeb8268a1294fffb6c1397bf250b3a6b1 Author: CBE <[email protected]> Date: Thu Jan 2 22:27:39 2025 +0300 Update spoiler-text.css commit 704a4ebeb1b25ec2725909564d435ad4fac5bbf4 Author: anime <[email protected]> Date: Fri Jan 3 02:40:40 2025 +0800 fix(无法使用siteconfig改为使用Blog对象): commit 8a2ec282d8d952fdc748c46a665070efb26fec49 Author: anime <[email protected]> Date: Fri Jan 3 01:08:14 2025 +0800 feat(为了SEO重定向类型设置为308永久重定向): commit 6e85af112ddfaa7a06e7003f419aae269a388104 Author: anime <[email protected]> Date: Fri Jan 3 00:52:36 2025 +0800 fix(修复UUID_REDIRECT SiteConfig使用Context问题): commit daa47e520321d1471ca445cc686bf73ee77bf0a7 Author: anime <[email protected]> Date: Fri Jan 3 00:48:53 2025 +0800 feat(支持配置UUID及其去除-形式重定向到slug功能): commit e405ab9dd70c913c4097ab312b83e2cadc048598 Author: anime <[email protected]> Date: Fri Jan 3 00:41:12 2025 +0800 fix(修复无法获取到值的错误): commit ebc5bd15bb79ca8cebec8ca7eeb8d84a384e52bf Author: anime <[email protected]> Date: Fri Jan 3 00:34:25 2025 +0800 feat(初步实现UUID及其去除-形式重定向到slug): commit 5ae4680e4684998a5a3242ca7dadedefbc1e6221 Author: anime <[email protected]> Date: Thu Jan 2 20:46:35 2025 +0800 refactor(修复错误的函数命名): commit b563744e2404ac3103cdc1c6b69d3b8c0fc38126 Author: anime <[email protected]> Date: Thu Jan 2 20:45:18 2025 +0800 perf(使用缓存优化): 复杂的数据转换函数使用缓存优化 commit 2766cb8d3b26dc162fbb19642a425171f6d7abb0 Author: anime <[email protected]> Date: Thu Jan 2 18:36:14 2025 +0800 perf(PostBlocks 转换使用缓存优化): 复杂的数据转换函数使用缓存优化 commit 3e1e4b0c1783abb7f4dc66f60ac846dacb15da03 Author: anime <[email protected]> Date: Thu Jan 2 18:31:57 2025 +0800 perf(SiteData站点数据 转换使用缓存优化): 复杂的数据转换函数使用缓存优化 commit 3990b5ba37db3ee4938b6623239bd19d49401b58 Author: anime <[email protected]> Date: Thu Jan 2 18:21:14 2025 +0800 feat(支持更加简单的的缓存数据读取和写入方式): 尝试从缓存中获取数据,如果没有则尝试获取数据并写入缓存,最终返回所需数据 commit 2831d2fb0ceb2932e3a0aa9b83ff2952cb9d18a9 Merge: 6aafc2e8 2b116d37 Author: tangly1024 <[email protected]> Date: Wed Jan 1 16:02:00 2025 +0800 Merge pull request #3105 from tangly1024/release/4.8.0 4.8.0 commit 2b116d3717bb883b91084e27c01c12aa998644e5 Author: tangly1024 <[email protected]> Date: Wed Jan 1 16:01:04 2025 +0800 4.8.0 commit 6aafc2e87c41bd3d23fa230acf39bdc4bf637297 Merge: 352a7fa7 296b0722 Author: tangly1024 <[email protected]> Date: Wed Jan 1 15:52:40 2025 +0800 Merge pull request #2680 from Phillweston/fix-code-style Fix code format for busuanzi.js commit 352a7fa70e73427b3f18dc30b224212dab16cb3b Merge: 707a686c 2cfc6be8 Author: tangly1024 <[email protected]> Date: Wed Jan 1 15:50:31 2025 +0800 Merge pull request #2678 from Phillweston/original-fix 增加多主题的页面404跳转功能 commit 2cfc6be804266b9743ab80bd31e1ccdfcecde5c9 Merge: c06cf105 707a686c Author: tangly1024 <[email protected]> Date: Wed Jan 1 15:49:15 2025 +0800 Merge branch 'main' into original-fix commit 707a686c0d9a2e298eaa6263ee0715706dd7d219 Merge: d71cf3e4 3a16dadd Author: tangly1024 <[email protected]> Date: Wed Jan 1 15:40:03 2025 +0800 Merge pull request #3082 from qixing-jk/feat-private-notion-page feat&fix(支持私有页面的数据访问): 使用react-notion-x要求的方式进行NotionAPI的配置 commit d71cf3e4e80cfe639cf0f2203ce7f65f1e44b739 Merge: cfd690c0 b84f16ac Author: tangly1024 <[email protected]> Date: Wed Jan 1 15:39:50 2025 +0800 Merge pull request #3091 from qixing-jk/feat-aisummary-wordcount Feat aisummary wordcount commit cfd690c00c34529ab6e46d9b64382fb4d0456712 Merge: dbcdc7ea c7a6841c Author: tangly1024 <[email protected]> Date: Wed Jan 1 15:39:41 2025 +0800 Merge pull request #3092 from qixing-jk/feat-google-adsense 修复并优化 google adsense commit dbcdc7ea0e6a323079e377332df73fc285eacc5d Merge: c80d6459 7d0df4f9 Author: tangly1024 <[email protected]> Date: Wed Jan 1 15:39:28 2025 +0800 Merge pull request #3093 from qixing-jk/fix-hash feat(修复 hash 跳转): commit c80d6459755cd50e80881a65822c525c08c0b3ee Merge: 08ef7253 9069348f Author: tangly1024 <[email protected]> Date: Wed Jan 1 15:39:15 2025 +0800 Merge pull request #3095 from Daleveral/dev fix : 取消 Heo 对 Hexo 文件的引用, 保持主题间的独立性 commit 08ef7253709cfccb1975db11b4ad0064d400a5ca Merge: 13131da9 adccf622 Author: tangly1024 <[email protected]> Date: Wed Jan 1 15:38:58 2025 +0800 Merge pull request #3099 from qixing-jk/feat-spoiler-text-plugin Feat spoiler text plugin 支持spoiler text commit 13131da9f951e9bef152f3215c3bf2615da81b35 Merge: 2e54ebcb 2a00ecc7 Author: tangly1024 <[email protected]> Date: Wed Jan 1 15:38:41 2025 +0800 Merge pull request #3102 from SnowWarri0r/meting Meting播放器问题修复 commit 9069348fd7b710888442b1c415087f6c8d1c81f6 Author: tangly1024 <[email protected]> Date: Wed Jan 1 15:32:08 2025 +0800 card组件多余 直接移除 commit 2e54ebcbd7bd7b55780e2b5486360a8696545f5c Merge: 9b80c149 bffcc401 Author: tangly1024 <[email protected]> Date: Wed Jan 1 15:20:33 2025 +0800 Merge pull request #3104 from tangly1024/fix/rss-link-config rss commit bffcc401c1257ade4fb1ad61e3367a173000204b Author: tangly1024 <[email protected]> Date: Wed Jan 1 15:19:01 2025 +0800 rss commit 2a00ecc7eea4539d0e8be00032317305999feff4 Author: SnowWarri0r <[email protected]> Date: Tue Dec 31 22:34:26 2024 +0800 添加相关说明 commit e7067b7cd5f8ad2eb17c3d0506b799552f06641a Author: SnowWarri0r <[email protected]> Date: Mon Dec 30 01:18:36 2024 +0800 remove meting lcr-type commit adccf622fdbc6d704d3bd928a10d56c0ac0e209a Author: anime <[email protected]> Date: Mon Dec 30 19:43:18 2024 +0800 feat(spoiler text添加文档): commit 65097c64b24f8bc083ed2e6771414f4912af3602 Author: anime <[email protected]> Date: Mon Dec 30 16:28:15 2024 +0800 perf(优化spoiler text处理过程): commit 177c4508853f3b1b7bbb75200c8943cf287d98e6 Author: anime <[email protected]> Date: Mon Dec 30 16:25:42 2024 +0800 feat(spoiler text添加文档): commit 06c41ae8f0cccbe8cfe951b3ba3992c69e69ec8c Author: anime <[email protected]> Date: Mon Dec 30 16:15:57 2024 +0800 feat(修复某些状态下无法正常工作的问题): 还是选择span完全包裹,简化处理难度 commit 5ace2d1e40ecadf7cbc2d5a2cf53107816bdd909 Author: anime <[email protected]> Date: Mon Dec 30 16:11:32 2024 +0800 feat(初步实现spoiler插件): commit eb9d757a918e5dcf9828b02d703ef872092184dc Author: DaleChu <[email protected]> Date: Sun Dec 29 18:03:29 2024 +0800 free heo commit 9b80c149bfc6edb60662e05041ef438ee38d6ecf Author: tangly1024 <[email protected]> Date: Sun Dec 29 09:34:40 2024 +0800 notion-hr commit 7d0df4f9107d864cfc84af1e142c29a64f096ff6 Author: anime <[email protected]> Date: Sat Dec 28 05:15:10 2024 +0800 feat(修复 hash 跳转): (cherry picked from commit 5769bfb2886775f5b3339a76d5d6a590b67d56b5) commit c7a6841c23ef88a81f6ac0d2e7892e106cd5d6d9 Author: anime <[email protected]> Date: Sun Dec 29 01:29:43 2024 +0800 feat(减少 checkNodeForAds 检测次数): commit bd019f19a17c1c799d963ddde611e3f150eb3aca Author: anime <[email protected]> Date: Sun Dec 29 01:16:17 2024 +0800 feat(缩小MutationObserver observe范围): commit 5f610d5a4e4ce00ea1162a4ca341aec27ffc2b2a Author: anime <[email protected]> Date: Tue Dec 24 16:42:13 2024 +0800 fix(修复文章内Google AdSense <ins/>处理): (cherry picked from commit f557c00894c60390123d7f60515d68112190bafe) commit 5c0c02bcfb28b1bab1267d4d08a2eabd9151565c Author: anime <[email protected]> Date: Tue Dec 24 16:39:58 2024 +0800 feat(优化文章内Google AdSense处理): (cherry picked from commit 476687e2b9126de11f8bff107b73708c18093a8e) commit 400e6ed929c6aa4ec27e7b8b519fe4f88ecedb3b Author: anime <[email protected]> Date: Tue Dec 24 15:57:47 2024 +0800 feat(优化文章内Google AdSense <ins/>处理): (cherry picked from commit ed8983171355976c20d9205665f9a880f0f49dd4) commit b84f16aca2c867cd593ac447a3a93f9d7ca46dd9 Author: anime <[email protected]> Date: Fri Dec 27 21:48:31 2024 +0800 feat(特殊配置读取添加 AI_SUMMARY 相关配置项): (cherry picked from commit 7a53b1950c8238636b4c525332e48a50f43ace2d) commit f8258a1de792cdaec8c493d62f77a3b37d5e9d19 Author: anime <[email protected]> Date: Mon Dec 23 20:22:51 2024 +0800 refactor(重构代码增强可读性): (cherry picked from commit 304107fff915f037326b87cb78629a2cdcd9a5e4) commit ff89e16ee29241d1971a8fa99266954c797e85c1 Author: anime <[email protected]> Date: Mon Dec 23 20:10:53 2024 +0800 feat(原生支持字数统计和阅读时长): 统一使用WordCount组件 (cherry picked from commit d8180e1a783ad50c501b741adc72f2747896bdc1) commit 09c092aefe462ea24bbe15030fdd737a8cdfbf63 Author: anime <[email protected]> Date: Mon Dec 23 19:35:58 2024 +0800 feat(统一文章不同路径结构下的数据处理方式): 使得其他路径结构下的文章也能进行原生AI摘要处理 (cherry picked from commit f427696b37872db96de53a071818a3fa98c691cd) commit 2b2d5b2d3399df0465828b2a0e76fce2487a67d1 Author: anime <[email protected]> Date: Mon Dec 23 18:12:12 2024 +0800 feat(优化原生AI摘要功能显示情况): 没有数据不加载,默认渲染完整摘要,利于SEO (cherry picked from commit 1964bc96fdce688129287594103e6555fb42c779) commit 148545cea952b948508d005a95e8aebdc01c0b7a Author: anime <[email protected]> Date: Mon Dec 23 17:39:48 2024 +0800 feat(原生AI摘要功能支持缓存): 自定义缓存功能只支持memory,不支持文件缓存 (cherry picked from commit dd56dae44f7f555d9004e7d1f872085bded2cb86) commit 46527958d0a3ab68cc2c9b53b7119e0cfedb4320 Author: anime <[email protected]> Date: Mon Dec 23 03:23:47 2024 +0800 feat(AI摘要功能支持多语言): (cherry picked from commit fcf0ca4ebb241321b3210a0465f9913f7e48bb5b) commit 5eb390bc38ee9748d3da5ed2f9659f354596bfe9 Author: anime <[email protected]> Date: Mon Dec 23 03:01:35 2024 +0800 feat(原生支持AI摘要功能): 使用一层API作为缓存而非直接请求AI,可以实现缓存/后端保密和预渲染 (cherry picked from commit 611a7d1d5dc7bc200d4390e29217ab8c8f76b0f0) commit b70c0f4ee709ce472193d7a6c7674a2a7099a681 Merge: e22bea97 124f7a47 Author: tangly1024 <[email protected]> Date: Sat Dec 28 17:02:29 2024 +0800 Merge pull request #3089 from tangly1024/release/4.7.13 4.7.13 commit 124f7a4747e5bd95dbaf0b1c58d03383bc3dd193 Author: tangly1024 <[email protected]> Date: Sat Dec 28 16:45:33 2024 +0800 4.7.13 commit e22bea971d04a3746ca72c67cc14d9a13a5c83d3 Merge: c8393545 042d6dd8 Author: tangly1024 <[email protected]> Date: Sat Dec 28 16:44:36 2024 +0800 Merge branch 'main' of https://github.com/tangly1024/NotionNext into main commit 042d6dd87bc565c9683bfc8f5d4e5ee3d5bdfdc3 Merge: dae9bf53 f52fcaf1 Author: tangly1024 <[email protected]> Date: Sat Dec 28 16:41:45 2024 +0800 Merge pull request #3077 from qixing-jk/feat-notion-config Notion config的配置项可以使用对象数组等复杂结构和HEO主题的站点信息文案支持从Notion配置 commit f52fcaf1c0285564a6365e00fe1d14cd9637a179 Author: tangly1024 <[email protected]> Date: Sat Dec 28 16:40:48 2024 +0800 保留inline_config commit 02790ab8a36b4bb08cb350bf66f882c1cdb2a139 Author: tangly1024 <[email protected]> Date: Sat Dec 28 16:04:34 2024 +0800 INLINE_CONFIG commit dae9bf531eeb933b64f900b2c9ee9d964b106f99 Merge: 4add2c84 1b8df117 Author: tangly1024 <[email protected]> Date: Sat Dec 28 15:54:12 2024 +0800 Merge pull request #3080 from Daleveral/fix-artalk fix : 修复 Artalk 评论插件在浅色/深色切换时的显示 Bug commit 4add2c847045ae9859b5728c56e3689ed23d6036 Merge: 1c4cb7b0 fe4b421b Author: tangly1024 <[email protected]> Date: Sat Dec 28 15:53:15 2024 +0800 Merge pull request #3076 from qixing-jk/fix-starter-muti-lang-link feat(start主题 链接设置默认值与多语言化): 可能的站内链接部分使用Link,而非a,使其能正确多语言跳转 commit c839354553040f27fd891f4958fdcb77502a8b6e Author: tangly1024 <[email protected]> Date: Sat Dec 28 15:48:59 2024 +0800 notion中的水平线 commit 3a16dadd763c9b39414dbe00a5bd3fa85da3bb2a Author: anime <[email protected]> Date: Sat Dec 7 12:53:10 2024 +0800 feat&fix(支持私有页面的数据访问): 使用react-notion-x要求的方式进行NotionAPI的配置 (cherry picked from commit d5ae329e2c3a1e18b5fd5fc3507791be9da9b4ed) commit 1b8df1174fefc2b03f382f214e30ee679472cd6a Author: _ <[email protected]> Date: Mon Dec 23 19:27:44 2024 +0800 fix : 修复 artalk 明暗切换时的显示 bug commit 96038640039d664696ece91f3ca3d89668b3b8ea Author: anime <[email protected]> Date: Thu Dec 19 18:12:06 2024 +0800 feat(HEO主题:支持文案从config获取): (cherry picked from commit 00a7c5e02c8f647f53b8ec88dae2896d31ab6ba8) commit 057f4d8881074d4e505b1179cbb7afde264206f0 Author: anime <[email protected]> Date: Wed Dec 18 02:00:59 2024 +0800 feat(支持复杂格式的config表格式配置): (cherry picked from commit 13dfb9a9078fedaac94da15ae3ee44a32ea6cdf0) commit fe4b421b4e4ccce8b0e0579dd304061141d2b01e Author: anime <[email protected]> Date: Fri Dec 20 22:05:57 2024 +0800 feat(start主题 链接设置默认值与多语言化): 可能的站内链接部分使用Link,而非a,使其能正确多语言跳转 commit 1c4cb7b0e40786686505cad5545e9a0c6323ac76 Merge: 95e8f7ce 70abe50a Author: tangly1024 <[email protected]> Date: Sat Dec 21 21:38:22 2024 +0800 Merge pull request #3075 from tangly1024/release/4.7.12 4.7.12 版本号 commit 70abe50a1f20874eec52c68a2230773fe375f256 Author: tangly1024 <[email protected]> Date: Sat Dec 21 21:28:35 2024 +0800 4.7.12 版本号 commit 95e8f7cef0cf008d5077da5c4b9a2a9d52fb0082 Merge: 4b54344c 45a6ec1e Author: tangly1024 <[email protected]> Date: Sat Dec 21 21:24:18 2024 +0800 Merge pull request #3072 from qixing-jk/fix-shortid feat(更换short_id实现方式): 避免因为缩短导致的潜在bug commit 4b54344cce16ed69121b8b2a185caed2430f8456 Merge: 09677222 0c415984 Author: tangly1024 <[email protected]> Date: Sat Dec 21 21:23:49 2024 +0800 Merge pull request #3073 from qixing-jk/feat-article-multi-lang-link feat(支持文章内站内链接多语言跳转并优化性能): commit 096772224bdf2561952f551d612d27555054dc65 Merge: 2ccaf738 8cb2244f Author: tangly1024 <[email protected]> Date: Sat Dec 21 21:23:16 2024 +0800 Merge pull request #3041 from qixing-jk/sync_block_catalogue feat(支持同步块格式的目录识别): commit 2ccaf738079a0ff814e74dc8e10e700a4eff1999 Merge: 84934144 17a8fd73 Author: tangly1024 <[email protected]> Date: Sat Dec 21 21:22:26 2024 +0800 Merge pull request #3040 from qixing-jk/fix-wrong-call-hook Fix wrong call hook commit 0c415984556603e2958430f7c23807764c7ff74d Author: anime <[email protected]> Date: Fri Dec 20 20:09:57 2024 +0800 feat(支持文章内站内链接多语言跳转并优化性能): (cherry picked from commit d35fcfdfaaef78d14cdaa7d88f69884f09c84277) commit 45a6ec1eb4effa6c2c1b7fcab63a2b30fd15c7f4 Author: anime <[email protected]> Date: Fri Dec 20 18:15:28 2024 +0800 feat(更换short_id实现方式): 避免因为缩短导致的潜在bug (cherry picked from commit 6d73a4388c1613dc0a719d68c8b4b3432fefd314) commit 8493414402f479568a4024022bc785523abcd34f Merge: dc0a8d8f 3b3ef08f Author: tangly1024 <[email protected]> Date: Sat Dec 7 09:55:05 2024 +0800 Merge pull request #3046 from tangly1024/fix/deploy-without-cnpmjs CNPM有点不靠谱 commit 3b3ef08febf64bb4119cb2d20e726148d46ae244 Author: tangly1024 <[email protected]> Date: Sat Dec 7 09:49:35 2024 +0800 CNPM有点不靠谱 commit 8cb2244f377eab559914c7f2834144817356f8ec Author: anime <[email protected]> Date: Wed Dec 4 02:45:47 2024 +0800 feat(支持同步块格式的目录识别): (cherry picked from commit 079515a157f3d0ba5cc1a92272fc16e74537f25f) feat(支持同步块格式的目录识别): 修复额外的多余目录识别问题 (cherry picked from commit c2d8ed211c16413aec37fd2438d93a7525afc03d) feat(支持同步块格式的目录识别): 去除多余的判断逻辑 (cherry picked from commit bacbe55bea13c4d3c6e79a11afcde4ba5139c67b) commit 17a8fd73327c9f796534d8133642f56be2d83cd7 Author: anime <[email protected]> Date: Tue Dec 3 20:16:41 2024 +0800 fix(修复错误调用React HOOK的问题): (cherry picked from commit c22114a0332dda440e7b12a4cf726af86d5e1c7d) commit d500cff483bf279f8a21c0a1a47686083f22cc58 Author: anime <[email protected]> Date: Tue Dec 3 19:46:09 2024 +0800 fix(修复错误调用React HOOK的问题): (cherry picked from commit 03408d4d65a52a1388d9fc251c45a624ff056766) commit 7726363c69e2354450253c2648f9babb1edf050b Author: anime <[email protected]> Date: Tue Dec 3 19:40:04 2024 +0800 fix(修复错误调用React HOOK的问题): (cherry picked from commit f0f144d557535e5bd7caf975d693379cc129652b) commit f2c3d9242a9b9e2ca57fd3d30e503ace9f6982cb Author: anime <[email protected]> Date: Tue Dec 3 19:35:56 2024 +0800 fix(修复错误调用React HOOK的问题): (cherry picked from commit 0e4e6b278626945a9041c3ba0aed35479fa9ac36) commit c2d17ffae45e7034546f85a4fb0d79e5cc431310 Author: anime <[email protected]> Date: Tue Dec 3 19:21:29 2024 +0800 fix(修复错误调用React HOOK的问题): (cherry picked from commit 8acb42d44dae705fe1ffb7ef2cc5bc589c7ff463) commit 244be5fca03d8fea6ad329df223cb8c4c2e90c8f Author: anime <[email protected]> Date: Tue Dec 3 19:05:29 2024 +0800 fix(在渲染期间调用React HOOK的问题): (cherry picked from commit 668462b46150a0173db9fefc2700ed4f03c2b9c7) commit dc0a8d8f271b463c8416aa8546deaabdb7a06d45 Merge: 439cebdb 8c0318cc Author: tangly1024 <[email protected]> Date: Mon Dec 2 14:01:57 2024 +0800 Merge pull request #3033 from tangly1024/fix/layout-category-tag 修复分类和标签首页 commit 8c0318cc7b923aa7f4c040ed8c91dbff570e55cb Author: tangly1024.com <[email protected]> Date: Mon Dec 2 14:01:18 2024 +0800 修复分类和标签首页 commit 439cebdbe6cf8c4afa1d72c7a4ca07f1e43f4fd3 Author: tangly1024.com <[email protected]> Date: Mon Dec 2 13:45:37 2024 +0800 sitemap commit 3078c6b4fa8a77a1e3878100b3e082b1ef49d691 Author: tangly1024.com <[email protected]> Date: Mon Dec 2 13:33:15 2024 +0800 link 修复 commit ffe78a57cdb3e90075891c98e04d5feec29940ea Merge: eb6ccb32 5eee80ce Author: tangly1024.com <[email protected]> Date: Wed Nov 27 14:14:07 2024 +0800 Merge branch 'main' of https://github.com/tangly1024/NotionNext commit eb6ccb3290dd95731eb7ac73ae14c086bdf66b8a Author: tangly1024.com <[email protected]> Date: Wed Nov 27 14:13:55 2024 +0800 gitbook 标签修改标题 commit 5eee80cec2087a6bcd277b4be0a5eefa91d20cb6 Merge: 4488e140 9f7c0acd Author: tangly1024 <[email protected]> Date: Sat Nov 23 20:40:24 2024 +0800 Merge pull request #3016 from tangly1024/fix/loading-click 修复-路由跳转时页面不可点击 commit 9f7c0acd99821fccf9ac7c44f9ee16102c602f15 Author: tangly1024 <[email protected]> Date: Sat Nov 23 20:39:57 2024 +0800 修复-路由跳转时页面不可点击 commit 4488e140280901413508f4ee9ec8b9eebcb71835 Merge: 0d832e48 401d7149 Author: tangly1024 <[email protected]> Date: Sat Nov 23 20:20:44 2024 +0800 Merge pull request #3015 from tangly1024/fix/maginze-theme 部分组件bug修复 commit 401d7149a1248d1cb7c5a78c079bdcf2e6e3e134 Author: tangly1024 <[email protected]> Date: Sat Nov 23 20:17:52 2024 +0800 部分组件bug修复 commit 0d832e48baf50580104acae4c8dd5a48cd121c7b Merge: be1ada51 a6acf94b Author: tangly1024 <[email protected]> Date: Sat Nov 23 19:09:02 2024 +0800 Merge pull request #3014 from tangly1024/release/4.7.11 Release/4.7.11 commit a6acf94bfc5c2cc044f8bf0cdab177f00ea99a52 Author: tangly1024 <[email protected]> Date: Sat Nov 23 19:08:17 2024 +0800 fix theme commit 668b3c7032b154b621f7df285e3804246e801854 Author: tangly1024 <[email protected]> Date: Sat Nov 23 18:26:04 2024 +0800 4.7.11版本号 commit 394c8e0e0b65adbea9b9978349fc4eb0d7a0e052 Author: tangly1024 <[email protected]> Date: Sat Nov 23 18:24:47 2024 +0800 重构;DynamicLayout组件重写,移除blog.config.js中的MAPPING配置 commit be1ada5106fb9fb88c928ea572f3abbb5b603ba1 Merge: 93f9782d 574b90b0 Author: tangly1024 <[email protected]> Date: Sat Nov 23 16:44:14 2024 +0800 Merge branch 'main' of https://github.com/tangly1024/NotionNext commit 93f9782d71c00274dadd88d81c59943752a74cb8 Author: tangly1024 <[email protected]> Date: Sat Nov 23 15:44:18 2024 +0800 日志 commit 360a3691a6abb165f9d937c6b5532a0a20c4e8de Author: tangly1024 <[email protected]> Date: Sat Nov 23 15:07:56 2024 +0800 lazy-image commit 574b90b0d02b5fd5a94784efd04214c70d2dc300 Merge: fed0aaf4 3060b391 Author: tangly1024 <[email protected]> Date: Sat Nov 23 15:06:50 2024 +0800 Merge pull request #3004 from BilikoX/fix-starter-submenu-btn-css Fix starter submenu btn css commit fed0aaf48be8da4ca596f140c70de884508464f9 Merge: b24befba 7d7718d9 Author: tangly1024 <[email protected]> Date: Sat Nov 23 15:06:26 2024 +0800 Merge pull request #3006 from owenyang0/feature/dockerfile-optimise feat: 优化dockerfile,可使包体积从1.1G缩小至200M commit b24befbafda45dff5430593f89f080b6c3f3628a Author: tangly1024 <[email protected]> Date: Sat Nov 23 14:44:59 2024 +0800 Magzine 微调导航栏 commit cfde73fbddb8b7275a1b085ae2e06b967940cb42 Author: tangly1024 <[email protected]> Date: Sat Nov 23 12:38:08 2024 +0800 hexo 页脚 commit c3685be35896e300b33779f14019a72dfd684ba6 Author: tangly1024 <[email protected]> Date: Sat Nov 23 12:35:23 2024 +0800 Hexo Card 动画有点慢 commit 560c19a7e120dfb33e3a20f57a3537711a93d324 Author: tangly1024 <[email protected]> Date: Sat Nov 23 12:28:09 2024 +0800 fix jump commit f3320bd59b075652377dc648c1b1e90bacb5dec2 Author: tangly1024 <[email protected]> Date: Sat Nov 23 10:50:42 2024 +0800 图片懒加载调优 commit 5a985b3095d558a04688c0c85ce8ad2e4e6ba506 Author: tangly1024.com <[email protected]> Date: Fri Nov 22 12:45:47 2024 +0800 Theme-Magzine SEO commit 7d7718d97181d87b6dae6d731c109c7e874bb49b Author: yangsong13 <[email protected]> Date: Thu Nov 21 20:11:49 2024 +0800 feat: remove extra line commit f10dfb817262bb8cd42ea2151b3a441e8e504d96 Author: yangsong13 <[email protected]> Date: Thu Nov 21 20:06:58 2024 +0800 feat: 仅对NEXT_BUILD_STANDALONE=true生效 commit 2e18ed2e0effd0f6fa3161db074ac936cbb15205 Author: yangsong13 <[email protected]> Date: Thu Nov 21 17:35:43 2024 +0800 feat: 优化dockerfile,可使包体积从1.1G缩小至200M commit a07b128dd36adbd2a61691fbb929a499675f480d Author: tangly1024.com <[email protected]> Date: Thu Nov 21 15:51:27 2024 +0800 懒加载图片组件 commit fb96bc7b9071458de3335502707046efea7215d8 Author: tangly1024.com <[email protected]> Date: Thu Nov 21 15:37:05 2024 +0800 Magzine主题调整 commit f1e3d77d7cb7036511dd4d889a592f8a6c21796c Author: tangly1024.com <[email protected]> Date: Thu Nov 21 15:23:33 2024 +0800 懒加载图片、LoadingCover样式 commit c68e7c90ca206c3f5447ae426cc7411e668762b8 Author: tangly1024.com <[email protected]> Date: Thu Nov 21 12:56:30 2024 +0800 fix commit 3264d4fb9ed43a10c0ced2f87a70d4e2f2f42a58 Author: tangly1024.com <[email protected]> Date: Thu Nov 21 12:56:38 2024 +0800 微调小bug commit 5b5f7bc58830bff8a691c76b50581353f7e43fbe Author: tangly1024.com <[email protected]> Date: Thu Nov 21 12:56:30 2024 +0800 评论 插件相关 commit d5235b3e44f58e8ac10439aa6a9a556e0de827d8 Author: tangly1024.com <[email protected]> Date: Thu Nov 21 12:28:15 2024 +0800 部分微调 commit 3060b39121b8b39c8680eb890bc23a6c67cf4883 Author: Biliko <[email protected]> Date: Thu Nov 21 11:43:18 2024 +0800 Update MenuItem.js 下箭头靠近按钮 commit dd7a8c9af111fb9ef53bd151e7e3a207692850a8 Author: Biliko <[email protected]> Date: Thu Nov 21 11:36:22 2024 +0800 Update style.js 修复导航菜单有子菜单时的样式 commit d2f97f7e6b6019460c7fdf688370282647fde040 Author: tangly1024.com <[email protected]> Date: Thu Nov 21 11:24:32 2024 +0800 DashBoard组件相关 commit 762c9e944096e240d1416ff4ee83a8b7dcab3605 Author: tangly1024.com <[email protected]> Date: Wed Nov 20 14:45:58 2024 +0800 starter 主题菜单 commit e3e78b643b85dd8ff7d5f427a0fec21b6f2effaa Author: tangly1024 <[email protected]> Date: Wed Nov 20 10:57:28 2024 +0800 Update getPageProperties.js Hotfix commit 8c07957f2670e2386bad24fed2765c7bdb8e99b4 Author: tangly1024.com <[email protected]> Date: Wed Nov 20 10:42:32 2024 +0800 build fix commit e3310294015a75c1919147bb4ab6db2e5971a682 Merge: 6ac88c92 ac9fa27e Author: tangly1024 <[email protected]> Date: Wed Nov 20 10:11:44 2024 +0800 Merge pull request #3000 from tangly1024/release/4.7.10 Release/4.7.10 commit ac9fa27e7ecfb36018a7bf6c912fe6a93db7dae9 Merge: a1ec6463 2988426a Author: tangly1024 <[email protected]> Date: Wed Nov 20 10:11:08 2024 +0800 Merge pull request #2999 from tangly1024/feat/NotionNext-backend Feat/notion next backend commit a1ec646398043f341775449fc62df189eafc26a0 Author: tangly1024.com <[email protected]> Date: Wed Nov 20 10:10:06 2024 +0800 4.7.10版本 commit 6ac88c92a3769b8268c51776c404966d82a5b3f4 Merge: b186d8da 92107c47 Author: tangly1024 <[email protected]> Date: Tue Nov 19 23:02:17 2024 +0800 Merge pull request #2996 from tangly1024/feat/minify Feat/minify commit 92107c47378ca7be4de95511005a4716bbe293e8 Author: tangly1024 <[email protected]> Date: Tue Nov 19 22:51:04 2024 +0800 minify-external-plugins commit c60a04af9943c1b96e230a3f26f757cb35ebe80f Author: tangly1024 <[email protected]> Date: Tue Nov 19 22:43:29 2024 +0800 分析模式 commit b186d8dafd33c2c4a6343578eabadd229b934f77 Merge: ab212946 9690d06f Author: tangly1024 <[email protected]> Date: Tue Nov 19 21:29:26 2024 +0800 Merge pull request #2995 from tangly1024/fix/theme-starter-config 配置文件读取规则 commit 9690d06fbdad8d3938f39792df03b73416332bca Author: tangly1024 <[email protected]> Date: Tue Nov 19 21:25:01 2024 +0800 fix commit a5ee8f059c9da25b2668a1fe89fcedaf28dc39a0 Author: tangly1024 <[email protected]> Date: Tue Nov 19 21:01:38 2024 +0800 配置文件读取规则 commit 2988426a2f1ebbd376b482aec1e345c1e75ccd20 Author: tangly1024.com <[email protected]> Date: Tue Nov 19 19:00:57 2024 +0800 starter\magzine\gitbook 主题dashboard元素 commit ed947d866ee257a5d44efcb190a700900bded0c1 Author: tangly1024.com <[email protected]> Date: Tue Nov 19 14:44:32 2024 +0800 Gitbook 主题;底部菜单样式调整 commit 7b0efe564753b149c9ccb2bdf75ccb2d510265c1 Author: tangly1024.com <[email protected]> Date: Tue Nov 19 12:53:35 2024 +0800 新增dashboard组件 commit 21d9bc03f7896cf6edd9ea7f36e62cc2d943db0c Author: tangly1024.com <[email protected]> Date: Mon Nov 18 18:10:18 2024 +0800 动态组件模式调整 commit ab2129464fa4cc98df98bf23dedc62bc571cb52b Author: tangly1024.com <[email protected]> Date: Mon Nov 18 14:22:39 2024 +0800 sitemap.xml问题 commit ce183595272ca065da283833b3c758c87f66c749 Author: tangly1024 <[email protected]> Date: Sat Nov 16 23:18:54 2024 +0800 Create FUNDING.yml commit 971f8b8a8606d951d569fbb8d73b262a7babff91 Author: tangly1024 <[email protected]> Date: Sat Nov 16 22:46:00 2024 +0800 深色模式 page-title颜色 commit daddd2031ae370a3d11842a241b038868290c4de Merge: e977092b b96cc664 Author: tangly1024 <[email protected]> Date: Thu Nov 14 15:15:14 2024 +0800 Merge pull request #2970 from tangly1024/fix/gitbook-theme-nav-menu-router Gitbook 主题伪静态自动展开异常 commit b96cc6640bcdaf099b3537b52b2e278ef3de66fc Author: tangly1024.com <[email protected]> Date: Thu Nov 14 15:14:24 2024 +0800 Gitbook 主题伪静态自动展开异常 commit e977092b5cb5125161db007249da90023e3649fe Merge: 1f90d460 98d30345 Author: tangly1024 <[email protected]> Date: Thu Nov 14 12:24:49 2024 +0800 Merge pull request #2968 from tangly1024/release/4.7.9 4.7.9 commit 98d303453f3e8c64931295bb14302e9ca2f1ecde Author: tangly1024.com <[email protected]> Date: Thu Nov 14 12:22:47 2024 +0800 4.7.9 commit 1f90d4602af90e7253d766b07514f681f4e604e2 Merge: 0fd83976 12fd9ed4 Author: tangly1024 <[email protected]> Date: Thu Nov 14 12:20:27 2024 +0800 Merge pull request #2967 from tangly1024/fix/emtpy-global-js Fix/emtpy global js commit 12fd9ed40f4568dc621c6879f811544c0050e618 Author: tangly1024.com <[email protected]> Date: Thu Nov 14 12:19:23 2024 +0800 放宽JS检测 commit 167cea3e60a268369fbfe8ca365e992c0f0b6d54 Author: tangly1024.com <[email protected]> Date: Thu Nov 14 12:18:19 2024 +0800 emtpy global_JS commit 0fd83976e7b0522d8bba5181dc534e068bf18321 Author: tangly1024.com <[email protected]> Date: Thu Nov 14 12:02:42 2024 +0800 HEO主题页脚微调 commit 437506637855e1dccd25472b6fc47eeaa49c349c Author: tangly1024.com <[email protected]> Date: Thu Nov 14 11:24:22 2024 +0800 js 代码检查放宽 commit 4d4f4fb1f2abb09a2978f5528a245bb101a771f1 Merge: 1ad1ee81 c3d229e8 Author: tangly1024 <[email protected]> Date: Thu Nov 14 10:31:23 2024 +0800 Merge pull request #2966 from tangly1024/fix/deploy-custom-nav-name 编译异常修复,菜单名为空通过编译 commit 1ad1ee81e790fe1f7a77df20098a0cd023ce8f33 Merge: 4fb56d26 480117a5 Author: tangly1024 <[email protected]> Date: Thu Nov 14 10:31:02 2024 +0800 Merge pull request #2965 from tangly1024/fix/theme-magzine-nav-auto-collapse Magzine主题,移动端自动收起菜单 commit c3d229e8eb28df3fdc354b9502225edebf25a01c Author: tangly1024.com <[email protected]> Date: Thu Nov 14 10:29:51 2024 +0800 编译异常修复,菜单名为空通过编译 commit 480117a599b955e8c1489d0e315d9288eaf555be Author: tangly1024.com <[email protected]> Date: Thu Nov 14 10:11:27 2024 +0800 Magzine主题,移动端自动收起菜单 commit 4fb56d264a14a043344afe6c0f92f7de859429ec Merge: 5e35fdf9 d18b3ed3 Author: tangly1024 <[email protected]> Date: Wed Nov 13 20:17:18 2024 +0800 Merge pull request #2963 from tangly1024/fix/theme-movie movie-photo主题浅色模式字体颜色 commit d18b3ed3362a50e8607cec3b2764ccd07d0415e0 Author: tangly1024 <[email protected]> Date: Wed Nov 13 20:16:43 2024 +0800 movie-photo主题浅色模式字体颜色 commit 5e35fdf96801d8457d5910ebcc13dba4e6c12526 Merge: f6828f1e fc7d8638 Author: tangly1024 <[email protected]> Date: Wed Nov 13 17:04:31 2024 +0800 Merge pull request #2957 from tangly1024/deploy/tencent-edge-one Deploy/tencent edge one commit fc7d86380cb02c6c6f964e930f4acd36514fb3d8 Author: tangly1024.com <[email protected]> Date: Wed Nov 13 17:03:19 2024 +0800 打包eslint冲突处理 commit 0f9fd58e01d5cc3e8bf159f5bf4e403d519f2316 Author: tangly1024.com <[email protected]> Date: Wed Nov 13 17:03:01 2024 +0800 减少props传参 commit c6adaa1859f60a7efa095e7bd3361c7a5e02ac21 Author: tangly1024.com <[email protected]> Date: Wed Nov 13 16:21:38 2024 +0800 test commit c5305b2c4671613a877c2b782ed4a4f1715f9a14 Author: tangly1024.com <[email protected]> Date: Wed Nov 13 16:10:16 2024 +0800 tencent-edge-one commit f6828f1e01b0911be8b313a60433cee1afa58485 Merge: 61a7efaa 3d1dc730 Author: tangly1024 <[email protected]> Date: Wed Nov 13 15:50:54 2024 +0800 Merge pull request #2956 from tangly1024/fix/heo-theme-sticky Heo sticky bug commit 3d1dc7309c570bd4ecfa4e3bd4f0c04da0f148f0 Author: tangly1024.com <[email protected]> Date: Wed Nov 13 15:49:43 2024 +0800 Heo sticky bug commit 61a7efaac0fb8b231465dd14fa9b74396edb0631 Author: tangly1024.com <[email protected]> Date: Wed Nov 13 15:14:16 2024 +0800 PR 模板 commit bc599220d0d9c50519efa31635acb35a6ee65a3c Merge: 116da968 2b6cbff6 Author: tangly1024 <[email protected]> Date: Wed Nov 13 15:13:07 2024 +0800 Merge pull request #2955 from tangly1024/feat/starter-search Feat/starter search commit 2b6cbff640f039fe018164ef4d203f37730a5065 Author: tangly1024.com <[email protected]> Date: Wed Nov 13 15:12:32 2024 +0800 缓存BUG commit 39e3fb4d13830a9e01e318c57be0048e2895abf5 Author: tangly1024.com <[email protected]> Date: Wed Nov 13 15:12:19 2024 +0800 Starter搜索 commit 116da9687b823a436f25c361eca83ce05032c1eb Merge: c5b6b70e 3c295902 Author: tangly1024 <[email protected]> Date: Wed Nov 13 14:53:27 2024 +0800 Merge pull request #2954 from tangly1024/fix/theme-nav-menu 修复Nav主题移动端的菜单 commit 3c2959027a12088be799cb36fbdbb5aa21a99de3 Author: tangly1024.com <[email protected]> Date: Wed Nov 13 14:51:28 2024 +0800 修复Nav主题移动端的菜单 commit c5b6b70ee850795dd5a2eedfdad0452b167a4207 Merge: cb07937c 2f91b5f4 Author: tangly1024 <[email protected]> Date: Wed Nov 13 14:24:47 2024 +0800 Merge pull request #2952 from tangly1024/release/4.7.8 版本号4.7.8 commit cb07937c13d10a861994634d67f2bd81a014da17 Merge: 1c654a51 f32142ae Author: tangly1024.com <[email protected]> Date: Wed Nov 13 14:24:32 2024 +0800 Merge branch 'main' of https://github.com/tangly1024/NotionNext commit 1c654a511862564b3632f5e52d60301d4b877845 Author: tangly1024.com <[email protected]> Date: Wed Nov 13 14:24:16 2024 +0800 主题样式微调 Magzine和Next commit 2f91b5f4b23db2fb3c9ad7ecae555c0e775e6bad Author: tangly1024.com <[email protected]> Date: Wed Nov 13 12:15:06 2024 +0800 版本号4.7.8 commit f32142ae5449314fd3b714e3f29a15fea2546749 Merge: 17ff8701 c8d90a41 Author: tangly1024 <[email protected]> Date: Wed Nov 13 12:09:02 2024 +0800 Merge pull request #2942 from qixing-jk/fix-404 Fix 404 commit 17ff870199be8b2174c0bceee15070978221fb89 Merge: 1ec3ef57 b9275423 Author: tangly1024 <[email protected]> Date: Wed Nov 13 11:38:30 2024 +0800 Merge pull request #2943 from dongzhenye/feat/version-management refactor: improve version number management commit b927542391b3bbd4cda1f9f52f7e9c84e1c89f05 Author: tangly1024.com <[email protected]> Date: Wed Nov 13 11:35:06 2024 +0800 Github PR模板 commit 1ec3ef572e957399e21d40c8b78229c53f9f1103 Merge: 47b8d974 e5a848c5 Author: tangly1024 <[email protected]> Date: Wed Nov 13 11:26:05 2024 +0800 Merge pull request #2951 from tangly1024/fix/url-prefix-notion-config Fix/url prefix notion config commit e5a848c585b73b488c401e5c9a51249402a0115d Author: tangly1024.com <[email protected]> Date: Wed Nov 13 11:16:55 2024 +0800 修复文章前缀问题,支持空字符串 commit cc44d4a8a39808e43f2567b462a053994c75f282 Author: tangly1024.com <[email protected]> Date: Wed Nov 13 11:11:48 2024 +0800 Starter 两个组件z-index调整 commit eed08777d1a36fbf96e5b376ca24c32159dcb272 Author: tangly1024.com <[email protected]> Date: Wed Nov 13 10:50:17 2024 +0800 代码缓存逻辑调整 commit 4798b5b4225f240ba4a1c668126e5557344025e5 Author: tangly1024.com <[email protected]> Date: Wed Nov 13 10:16:00 2024 +0800 fix starter hero - bug commit b6a6a7215daa0f0fc1a7fa02fcdd6f2ca7db2f9c Author: Zhenye Dong <[email protected]> Date: Sun Nov 10 18:11:21 2024 +0800 chore: echo $npm_package_version for dev commit fe90d94d881141bbd3a7ef9751250ac77d89eb12 Author: Zhenye Dong <[email protected]> Date: Sun Nov 10 18:01:04 2024 +0800 docs: improve environment variables documentation commit 77c2c5903ad32d4408d9c4c76b83975647bddf0d Author: Zhenye Dong <[email protected]> Date: Sun Nov 10 17:59:59 2024 +0800 Add .env.local into .gitignore file for better privacy and practice commit 04ee6b04c5015bcd3febdeef71e83b0defbf06bc Author: Zhenye Dong <[email protected]> Date: Sun Nov 10 17:58:34 2024 +0800 Add .env.example file with no pre-enabled configuration commit e53db9ef727ae4b0e2229232ad264684b6462faf Author: Zhenye Dong <[email protected]> Date: Sun Nov 10 17:57:34 2024 +0800 Remove .env.local file commit 734f60593a3bd21f5b7232c18c58911847ff5417 Author: Zhenye Dong <[email protected]> Date: Sun Nov 10 17:57:05 2024 +0800 refactor: improve version management - Move version number from env to package.json - Add dynamic version loading with fallback - Improve error handling for version loading commit c8d90a41660c0fff27601b4316880eddbfe8ae8f Author: anime <[email protected]> Date: Fri Nov 8 00:30:44 2024 +0800 fix(使所有主题的404能够正常运转): 同时让获取文章DOM节点也避免公告栏等其他位置的干扰 commit 33740681637e2b265138fb4fce562fc1eedbafeb Author: anime <[email protected]> Date: Fri Nov 8 00:14:09 2024 +0800 fix(使所有主题的404能够正常运转) (cherry picked from commit 3e3b7667d043522a3d782b804815b8f1683127d1) commit 47b8d9742022a0ec39fced88d3cd606165ae3a11 Author: tangly1024 <[email protected]> Date: Sat Nov 9 21:14:07 2024 +0800 starter主题-Logo相关 commit c2d932402ca6c6cc257f4ff79fd83adae705a35b Author: tangly1024.com <[email protected]> Date: Fri Nov 8 18:38:57 2024 +0800 starter主题logo修复 commit ceaa9f9b575df1c53312a3ee38222800893577df Merge: adeb4b24 4d7b0f55 Author: tangly1024 <[email protected]> Date: Fri Nov 8 17:04:49 2024 +0800 Merge pull request #2926 from dongzhenye/fix/url-based-lang-switch-upstream fix: language switching now strictly follows URL path commit 4d7b0f550da54f9047b56abae5267e7f6011eaa0 Author: tangly1024.com <[email protected]> Date: Fri Nov 8 17:03:23 2024 +0800 根据url中的语言前缀,处理站点显示的翻译语言 commit adeb4b2446a4937bdde2915fa5c4f3efb636d9a8 Merge: eb711d02 1db272ec Author: tangly1024 <[email protected]> Date: Fri Nov 8 16:31:08 2024 +0800 Merge pull request #2928 from BilikoX/replace-Twikoo-CDN FIX:替换Twikoo默认CDN commit eb711d0293d0ec4e4371a606c49c34d79e2d5889 Merge: 129e670b 6010bd22 Author: tangly1024 <[email protected]> Date: Fri Nov 8 16:30:05 2024 +0800 Merge pull request #2936 from tangly1024/release/4.7.7 Starter 页脚最新文章数量支持配置 commit 6010bd22189b1047f67ae1efb33d244ce43c8718 Author: tangly1024.com <[email protected]> Date: Fri Nov 8 16:21:43 2024 +0800 Starter 页脚最新文章数量支持配置 commit 1db272ecef5de6472a56fcee0a1dc4c75019e14b Author: Biliko <[email protected]> Date: Tue Nov 5 14:07:54 2024 +0800 替换Twikoo默认CDN staticfile.org等CDN服务因恶意攻击代码被uBlock屏蔽,替换默认CDN为Twikoo官方文档中的地址 commit 44d67569206d7d33111e9de4b6c0d0db8e3f64ac Author: Zhenye Dong <[email protected]> Date: Tue Nov 5 00:09:46 2024 +0800 fix: language switching now strictly follows URL path - Remove localStorage dependency for language persistence - Add route change listener for language updates - Simplify language switching logic - Fix language reset issue when refreshing /en pages commit 129e670b369db8651a3359274cb117b5b1667a6f Merge: 26ccfad4 164f9ce2 Author: tangly1024 <[email protected]> Date: Mon Nov 4 16:53:31 2024 +0800 Merge pull request #2923 from tangly1024/release/4.7.7 Release/4.7.7 commit 164f9ce2aafcaa5f30c1a537fedf19a5d02304db Author: tangly1024.com <[email protected]> Date: Mon Nov 4 16:52:30 2024 +0800 4.7.7版本号 commit 2ccaf6b513081143b3b521a6117312ed155a9bbf Author: tangly1024.com <[email protected]> Date: Mon Nov 4 16:51:37 2024 +0800 高度微调 commit 596d8018b55f15d93263d142f22345f6ca19e036 Author: tangly1024.com <[email protected]> Date: Mon Nov 4 16:47:33 2024 +0800 优化缩略图 commit 2c750e4a946fcfb1215fae20861e932eb4e4b527 Author: tangly1024.com <[email protected]> Date: Mon Nov 4 16:42:40 2024 +0800 photo-主题,首屏加公告;加入预览图 commit 92fbe668f98c7913d50041b89bf354e7f1ef96f0 Author: tangly1024.com <[email protected]> Date: Mon Nov 4 16:16:03 2024 +0800 theme-photo 菜单样式 commit 67019e9477cbe81f48aa7ccd09dd0e109c0518dd Author: tangly1024.com <[email protected]> Date: Mon Nov 4 16:11:27 2024 +0800 theme-photo commit c43924db77ab2a9cd4980d1aa5eab54c8219791d Merge: 56f94bf8 26ccfad4 Author: tangly1024.com <[email protected]> Date: Mon Nov 4 11:12:48 2024 +0800 Merge branch 'main' into feat/theme-photo commit 26ccfad46b70797c9a8887bd33ab4beb6192bc17 Author: tangly1024.com <[email protected]> Date: Mon Nov 4 10:57:40 2024 +0800 4.7.6 commit 56f94bf8f0dc0bec0ed659be23a70ace5dd72f2a Author: tangly1024.com <[email protected]> Date: Mon Nov 4 10:57:09 2024 +0800 photo-主题框架 commit 6b62cb0af5fff40e74333df8d20db91fd87eb45b Author: tangly1024 <[email protected]> Date: Mon Nov 4 10:01:30 2024 +0800 Update README.md commit 42d025f7646cc2026a789945aca7087ae69b6054 Author: tangly1024 <[email protected]> Date: Thu Oct 31 21:35:57 2024 +0800 starter 加快首屏 commit de4d7cf896b1e7247e2aa50c374bf1482bd2f27f Author: tangly1024 <[email protected]> Date: Thu Oct 31 21:22:10 2024 +0800 starter 遮罩 commit 9e85f4d1c2984aa515035559b27708976bc4d7ad Author: tangly1024 <[email protected]> Date: Thu Oct 31 20:57:34 2024 +0800 Starter主题滚动按钮bug commit da2cdac0a31744ac18887de878f3f95907817f27 Author: tangly1024 <[email protected]> Date: Thu Oct 31 20:43:19 2024 +0800 深色模式样式微调 commit 5bf47d77dfebd4bc67d077d01598798aa6ee4901 Author: tangly1024 <[email protected]> Date: Thu Oct 31 20:39:33 2024 +0800 微调滚动条样式 commit dc8b360c444a7ce9c51fb63860dc3faf9584219f Merge: ac6cf6d8 fdce9d23 Author: tangly1024 <[email protected]> Date: Thu Oct 31 18:13:21 2024 +0800 Merge pull request #2911 from tangly1024/fix/nobelium-nav-title-mobile nobelium主题移动端标题栏 commit fdce9d235f035995e39eb5e95c7ef80f734a99ee Author: tangly1024.com <[email protected]> Date: Thu Oct 31 18:12:55 2024 +0800 nobelium主题移动端标题栏 commit ac6cf6d8aaf5386fd9c19eb77389533c0c37ca56 Merge: d53ac57e 9076bc14 Author: tangly1024 <[email protected]> Date: Thu Oct 31 17:53:03 2024 +0800 Merge pull request #2910 from tangly1024/feat/theme-game-list game 主题,页面加上通用的底部列表 commit 9076bc149cf47846b967ab3711fec4b3047192ee Author: tangly1024.com <[email protected]> Date: Thu Oct 31 17:45:15 2024 +0800 game 主题,页面加上通用的底部列表 commit d53ac57eff750516639c74e7f63e7c80a41355c6 Merge: 6a3a2a09 18a0a14f Author: tangly1024 <[email protected]> Date: Thu Oct 31 17:16:58 2024 +0800 Merge pull request #2908 from tangly1024/fix/starter-post-password starter 主题 支持加密文章 commit 18a0a14f3f2b076a2f200cff8bc5cc52e8943042 Author: tangly1024.com <[email protected]> Date: Thu Oct 31 17:11:00 2024 +0800 starter 主题 支持加密文章 commit 6a3a2a09b327209655276976855512b0cb026a08 Merge: 3034d148 f2545d62 Author: tangly1024 <[email protected]> Date: Thu Oct 31 14:36:59 2024 +0800 Merge pull request #2907 from tangly1024/fix/game-theme-search Game-主题搜索功能 commit f2545d62a00edca7f4585b8431384ef1b1d4d113 Author: tangly1024.com <[email protected]> Date: Thu Oct 31 14:34:10 2024 +0800 Game-主题搜索功能 commit 3034d14851c458b6e450a2d4cd351e25aa1a39ba Merge: 176b66ef 5347ffe7 Author: tangly1024 <[email protected]> Date: Thu Oct 31 12:25:46 2024 +0800 Merge pull request #2905 from tangly1024/feat/theme-magzine-components 部分组件统一;magzine页脚微调 commit 5347ffe7db14e59d10bbbc46d55eae2036392bbc Author: tangly1024.com <[email protected]> Date: Thu Oct 31 12:19:24 2024 +0800 部分组件统一;magzine页脚微调 commit 176b66ef6a857a2edba8849451c7eaac95baf498 Merge: f4f0acd1 02697901 Author: tangly1024 <[email protected]> Date: Wed Oct 30 16:10:10 2024 +0800 Merge pull request #2903 from tangly1024/feat/theme-movie-background-image Feat/theme movie background image commit 02697901c6286afff170ecdee8e995815c129859 Author: tangly1024.com <[email protected]> Date: Wed Oct 30 16:05:14 2024 +0800 logo 类名统一 commit 332d87b0a2dfe20e86ef19d64e385b33ee91a69d Author: tangly1024.com <[email protected]> Date: Wed Oct 30 15:58:06 2024 +0800 深色模式按钮 commit f4f0acd13a36b7e8675142183964b65738a2fda1 Author: tangly1024.com <[email protected]> Date: Wed Oct 30 12:16:12 2024 +0800 fix 居中 commit a0f5f2df8772aa0985b4e92b0fa17b49118a3853 Merge: 3f9e3270 222e9814 Author: tangly1024.com <[email protected]> Date: Wed Oct 30 12:15:03 2024 +0800 Merge branch 'main' of https://github.com/tangly1024/NotionNext commit 3f9e32707f37f6ed00614e7d437604f401a2baab Author: tangly1024.com <[email protected]> Date: Wed Oct 30 12:14:57 2024 +0800 fix 备案 commit 222e98145a019564e3a1291f7809644715f78ec5 Merge: a455fe54 77f41066 Author: tangly1024 <[email protected]> Date: Tue Oct 29 16:49:56 2024 +0800 Merge pull request #2900 from tangly1024/fix/redirect-uri redirect 语言bug commit 77f410665bf91266bec7d00cf1b7d4365db1d3a6 Author: tangly1024.com <[email protected]> Date: Tue Oct 29 16:49:08 2024 +0800 redirect 语言bug commit a455fe54b6f359e2281dd1d3c3fb436c2c261fd2 Merge: 0ac8b7af 3f31a278 Author: tangly1024 <[email protected]> Date: Tue Oct 29 14:59:07 2024 +0800 Merge pull request #2898 from tangly1024/feat/beian-gongan 支持公安备案号配置 commit 3f31a27823d6f31eeafeed141e45d5b13df8db56 Author: tangly1024.com <[email protected]> Date: Tue Oct 29 14:49:17 2024 +0800 支持公安备案号配置 commit 0ac8b7afc421e5b7cd77639a62fcd33043044306 Author: tangly1024.com <[email protected]> Date: Mon Oct 28 17:43:06 2024 +0800 magzine 回滚 commit e9230656ad92e12a45c3a0d31d1f83946c4c7458 Author: tangly1024.com <[email protected]> Date: Mon Oct 28 16:35:29 2024 +0800 magzine主题高度微调 commit 1b9073f776acb3482a90203c17d7e98fc1a5fc45 Merge: ab21e1fb c07aef8f Author: tangly1024 <[email protected]> Date: Tue Oct 22 16:19:42 2024 +0800 Merge pull request #2877 from tangly1024/fix/page-scroll-by-key 修复网页无法用上下按键翻页 commit c07aef8f414a6fc8ddd75bc05609adfcdfd204e8 Author: tangly1024.com <[email protected]> Date: Tue Oct 22 16:17:01 2024 +0800 修复网页无法用上下按键翻页 commit ab21e1fb99f4f985d18d6b2dc8eeb5dbb7c18ca9 Author: tangly1024.com <[email protected]> Date: Mon Oct 14 15:56:39 2024 +0800 url - convert commit 6a0dca92e457e18a50d44294b69d1f113a02bfb3 Author: tangly1024.com <[email protected]> Date: Mon Oct 14 15:12:15 2024 +0800 主题名 commit b17be3024e18e83e8e5817118f2899a509f1f394 Author: tangly1024.com <[email protected]> Date: Mon Oct 14 14:05:09 2024 +0800 fix 页内url替换 commit 675def4936b637b3e5aeb79495df1fc2d6a7ce3a Author: tangly1024.com <[email protected]> Date: Sat Oct 12 14:48:24 2024 +0800 starter主题,空图片处理 commit b8f58108f4abdf1dc5d1fd4c028b81229abf8444 Author: tangly1024.com <[email protected]> Date: Fri Oct 11 18:01:32 2024 +0800 fix commit 3a91bdbc518c233cb8a7905eb933406687d562c9 Author: tangly1024.com <[email protected]> Date: Fri Oct 11 17:55:57 2024 +0800 fix commit cd3ac58dac06af0608fbde40268be2dc567f3ea4 Author: tangly1024.com <[email protected]> Date: Fri Oct 11 17:38:41 2024 +0800 starter 合作伙伴模块上移 commit 3b360d0786c4c9c84bdba5edd9529f084ca2f789 Author: tangly1024.com <[email protected]> Date: Fri Oct 11 17:34:53 2024 +0800 默认关闭banner commit f24e82bfd9a6c1e3db11ed4bf325be918e0ff8b6 Author: tangly1024.com <[email protected]> Date: Fri Oct 11 17:10:48 2024 +0800 starter - hero banner 宽度限制 commit 006d411cf15de082afabd8e1a6a39bcd0f1d86ad Author: tangly1024.com <[email protected]> Date: Fri Oct 11 16:02:30 2024 +0800 banner图全宽 commit aa85f6c989ca7640731fb81897cad72cf550925c Merge: 42c294c2 d9b71bcc Author: tangly1024 <[email protected]> Date: Fri Oct 11 14:06:37 2024 +0800 Merge pull request #2853 from tangly1024/release/4.7.5 Starter 英雄区配图新增横幅图片 commit d9b71bcc445ddfe280a8d9ca6f964bf1c7103832 Author: tangly1024.com <[email protected]> Date: Fri Oct 11 14:02:45 2024 +0800 Starter 英雄区配图 commit 42c294c20b1340e237f7a7e370416a098963f14d Merge: fc0e98b4 dbe90578 Author: tangly1024 <[email protected]> Date: Thu Oct 10 17:00:43 2024 +0800 Merge pull request #2844 from tangly1024/release/4.7.5 starter主题的社交按钮配置 commit dbe9057894744ebf9aa19ff182de687e9657f42f Author: tangly1024.com <[email protected]> Date: Thu Oct 10 17:00:07 2024 +0800 starter主题的社交按钮配置 commit fc0e98b45679a4af62716197fb61c87d6c1c9e1b Merge: 914443a6 1ad7274c Author: tangly1024 <[email protected]> Date: Wed Oct 9 09:35:22 2024 +0800 Merge pull request #2836 from tangly1024/release/4.7.5 heo 英雄区 commit 1ad7274c4451ed29f7a3cc6efcf36117da05fca1 Author: tangly1024.com <[email protected]> Date: Wed Oct 9 09:32:49 2024 +0800 heo 英雄区 commit 914443a6afe48d5ab65a286ea9385e811e8c693d Merge: eed528ac 44004006 Author: tangly1024 <[email protected]> Date: Tue Oct 8 18:40:39 2024 +0800 Merge pull request #2835 from tangly1024/release/4.7.5 4.7.5 commit 4400400652fc64bf5098d33f8baeb0cb3d89cacd Author: tangly1024.com <[email protected]> Date: Tue Oct 8 18:39:10 2024 +0800 4.7.5 commit eed528ac9a18476944e14e1b0221a0e7ca7da4d3 Merge: 0dd75486 1f255c57 Author: tangly1024 <[email protected]> Date: Tue Oct 8 18:37:09 2024 +0800 Merge pull request #2834 from tangly1024/fix/custom-menu 修复菜单自定义名的bug commit 1f255c57459786106bf5313cc538696cba132cea Author: tangly1024.com <[email protected]> Date: Tue Oct 8 18:36:27 2024 +0800 修复菜单自定义名的bug commit 0dd754863d30290bbf38e2d07c9e1de22fa5f9d1 Merge: 6dbeba42 e1bead3f Author: tangly1024 <[email protected]> Date: Tue Oct 8 17:58:56 2024 +0800 Merge pull request #2833 from tangly1024/fix/heo-hero-banner-title-z-index 修复heo主题文字遮挡 commit e1bead3fc3ef7ff0ee7269101c3be0d3f3491410 Author: tangly1024.com <[email protected]> Date: Tue Oct 8 17:58:24 2024 +0800 修复heo主题文字遮挡 commit 6dbeba425404bd6f326d2b25e3312c962c09b394 Merge: d26bbf57 6c452c22 Author: tangly1024 <[email protected]> Date: Tue Oct 8 17:41:56 2024 +0800 Merge pull request #2832 from tangly1024/fix/language-page 分页多语言 commit 6c452c22de7beed562627acf77994814a42d7afe Author: tangly1024.com <[email protected]> Date: Tue Oct 8 17:41:21 2024 +0800 分页多语言 commit d26bbf57563869d4e136449475d96aa5011bec79 Merge: 5649c5f2 5b184518 Author: tangly1024 <[email protected]> Date: Tue Oct 8 16:36:27 2024 +0800 Merge pull request #2831 from tangly1024/fix/tag-language 修复错误的标签 commit 5b18451828a8ec23e3eefd318acfb15887dd4fc9 Author: tangly1024.com <[email protected]> Date: Tue Oct 8 16:35:52 2024 +0800 修复错误的标签 commit 5649c5f2cff12b441e6b008cab4a4966cf5c5a72 Author: tangly1024 <[email protected]> Date: Sun Oct 6 09:16:19 2024 +0800 gitbook 减少广告 commit d2a37b3a179a1312fd845ab4be101efabdd27ae3 Author: tangly1024 <[email protected]> Date: Sat Oct 5 15:02:06 2024 +0800 封面图 commit 674561e2d9e9de37d1761341c6698f7a7b865a99 Author: tangly1024 <[email protected]> Date: Thu Oct 3 20:02:02 2024 +0800 starter-comment commit 479ea4d28624d5319b977c42f7e33ba86cc0615c Author: tangly1024 <[email protected]> Date: Wed Oct 2 21:42:40 2024 +0800 4.7.4 - 只是改版本号 commit 0c08a1f4be135813db7fe9c079fc11fb70cc8453 Author: tangly1024 <[email protected]> Date: Wed Oct 2 09:54:22 2024 +0800 magzine 首屏关闭动画 commit ec3ca716b184a5818dc5db1ffd20e6f59a8a2ead Author: tangly1024.com <[email protected]> Date: Mon Sep 30 18:30:50 2024 +0800 starter主题 max-w 过宽的问题 commit 3d91ba514715c70b88869f5f7c16b4dca6c7230e Author: tangly1024.com <[email protected]> Date: Mon Sep 30 15:42:26 2024 +0800 starter主题 commit ba621639275706af957baf36516dcd2d08d4df44 Author: tangly1024.com <[email protected]> Date: Mon Sep 30 13:52:12 2024 +0800 starter-sharebar commit 5c2943dc64a33728e4e3f5c63b653f8ff2a5df06 Author: tangly1024.com <[email protected]> Date: Mon Sep 30 13:35:51 2024 +0800 starter主题微调 commit cdb8f45e343c14bc0d021b4402457ca39a8d473f Author: tangly1024.com <[email protected]> Date: Mon Sep 30 13:33:33 2024 +0800 gitbook 默认关闭悬浮展开 commit c7052731761c8bab8b07d96bdbbd7d195862add4 Author: tangly1024.com <[email protected]> Date: Sun Sep 29 17:58:03 2024 +0800 分享链接url问题 commit c564f2bbb225ced5e69eb613782c8f3e7147a54d Author: tangly1024.com <[email protected]> Date: Sun Sep 29 17:57:03 2024 +0800 修复配置读取无法获取%category%映射的bug commit 65915e30a8778d63bf19aee47be101ae768cb3e8 Author: tangly1024.com <[email protected]> Date: Fri Sep 27 17:11:00 2024 +0800 magzine 顶部菜单微调 commit 3d68b35cb6cc5f737330b8ea2e664083825135ad Author: tangly1024.com <[email protected]> Date: Fri Sep 27 16:11:23 2024 +0800 代码格式化 commit 60fc788d4b0b646deea29f55fb18bb985f4f54f8 Author: tangly1024.com <[email protected]> Date: Fri Sep 27 16:11:06 2024 +0800 Notion默认文字纯黑 commit a749e3b2c59e5a8f6d2ed623a185874c2510ae68 Author: tangly1024.com <[email protected]> Date: Fri Sep 27 10:06:14 2024 +0800 gitbook 重定向bug commit 6e6d8eef507714153445bc2f81ee46ce638e30f9 Author: tangly1024.com <[email protected]> Date: Thu Sep 26 16:59:50 2024 +0800 目录锁bug,catalog-item commit bc5a6b89497cae8fa44d83fb73f02d4407edd172 Author: tangly1024.com <[email protected]> Date: Wed Sep 25 17:41:25 2024 +0800 gitbook微调菜单 commit 1821db79a0946d8996186fe78a426196741f04fc Author: tangly1024.com <[email protected]> Date: Wed Sep 25 16:04:16 2024 +0800 screen-width commit 7e6f27694cf31e5762fc7369e2712613c7880496 Merge: a8a82776 a43ccfe4 Author: tangly1024 <[email protected]> Date: Wed Sep 25 15:38:21 2024 +0800 Merge pull request #2772 from tangly1024/fix/theme-nobelium nobelium主题调整 commit a43ccfe4dd5d2c2892b1e141718d2d0ed7abdc06 Author: tangly1024.com <[email protected]> Date: Wed Sep 25 15:32:39 2024 +0800 nobelium等主题catalog样式调整 commit 8311909062ec6166d36b13ecdfe6035861c6ae7e Author: tangly1024.com <[email protected]> Date: Wed Sep 25 15:03:35 2024 +0800 nobelium darkmode commit f8d1d55574ba43c4a5611b117101db201450334f Author: tangly1024.com <[email protected]> Date: Wed Sep 25 14:59:53 2024 +0800 nobelium-title commit a8a827768ca831d9efcc0860e063eb4299721ace Merge: 59bfaa46 6651affc Author: tangly1024 <[email protected]> Date: Wed Sep 25 14:48:18 2024 +0800 Merge pull request #2771 from tangly1024/release/4.7.3 screen-width commit 6651affc343d13bb6ec7e3391d0102b0f6a797eb Author: tangly1024.com <[email protected]> Date: Wed Sep 25 14:38:08 2024 +0800 screen-width commit 59bfaa46591eeb816c0d257a87d6aa55dd7df1c2 Merge: 9a11cb9f c912815d Author: tangly1024 <[email protected]> Date: Wed Sep 25 14:10:15 2024 +0800 Merge pull request #2770 from tangly1024/release/4.7.3 sign-in factor-one commit c912815d75cdc2827b5467f6cb38495fb0ae6df2 Author: tangly1024.com <[email protected]> Date: Wed Sep 25 14:00:19 2024 +0800 sign-in factor-one commit 9a11cb9fa6de58bd25b8f780c5fddacc236fc753 Merge: 03c116fa c822c4d4 Author: tangly1024 <[email protected]> Date: Wed Sep 25 13:47:08 2024 +0800 Merge pull request #2769 from tangly1024/release/4.7.3 sign-in factor commit c822c4d445ec6cc3dd74d60deffee145ad82e47a Author: tangly1024.com <[email protected]> Date: Wed Sep 25 13:46:22 2024 +0800 sign-in factor commit 03c116fac3068331c1dafe9754f3d57d26e362ac Merge: 4be65c2f 4985b4a2 Author: tangly1024 <[email protected]> Date: Wed Sep 25 10:52:00 2024 +0800 Merge pull request #2764 from tangly1024/release/4.7.3 Release/4.7.3 commit 4985b4a23726ee931b86d2c52990cb4e5b9a4dfb Author: tangly1024.com <[email protected]> Date: Wed Sep 25 10:48:31 2024 +0800 starter menu commit 3effaa1997fa3936d3a55700577949a4c2118ef1 Author: tangly1024.com <tlyong1992@hot…
1 parent c75f667 commit cfdc4b2

File tree

116 files changed

+2686
-1864
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+2686
-1864
lines changed

blog.config.js

Lines changed: 39 additions & 534 deletions
Large diffs are not rendered by default.

components/AISummary.js

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
import styles from './AISummary.module.css'
2+
import { useEffect, useState } from 'react'
3+
import { useGlobal } from '@/lib/global'
4+
5+
const AISummary = ({ aiSummary }) => {
6+
const { locale } = useGlobal()
7+
const [summary, setSummary] = useState(aiSummary)
8+
9+
useEffect(() => {
10+
showAiSummaryAnimation(aiSummary, setSummary)
11+
}, [])
12+
13+
return (
14+
aiSummary && (
15+
<div className={styles['post-ai']}>
16+
<div className={styles['ai-container']}>
17+
<div className={styles['ai-header']}>
18+
<div className={styles['ai-icon']}>
19+
<svg
20+
xmlns='http://www.w3.org/2000/svg'
21+
viewBox='0 0 24 24'
22+
width='24'
23+
height='24'>
24+
<path
25+
fill='#ffffff'
26+
d='M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4M12,6A6,6 0 0,1 18,12A6,6 0 0,1 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6M12,8A4,4 0 0,0 8,12A4,4 0 0,0 12,16A4,4 0 0,0 16,12A4,4 0 0,0 12,8Z'
27+
/>
28+
</svg>
29+
</div>
30+
<div className={styles['ai-title']}>{locale.AI_SUMMARY.NAME}</div>
31+
<div className={styles['ai-tag']}>GPT</div>
32+
</div>
33+
<div className={styles['ai-content']}>
34+
<div className={styles['ai-explanation']}>
35+
{summary}
36+
{summary !== aiSummary && (
37+
<span className={styles['blinking-cursor']}></span>
38+
)}
39+
</div>
40+
</div>
41+
</div>
42+
</div>
43+
)
44+
)
45+
}
46+
47+
const showAiSummaryAnimation = (rawSummary, setSummary) => {
48+
if (!rawSummary) return
49+
let currentIndex = 0
50+
const typingDelay = 20
51+
const punctuationDelayMultiplier = 6
52+
let animationRunning = true
53+
let lastUpdateTime = performance.now()
54+
const animate = () => {
55+
if (currentIndex < rawSummary.length && animationRunning) {
56+
const currentTime = performance.now()
57+
const timeDiff = currentTime - lastUpdateTime
58+
59+
const letter = rawSummary.slice(currentIndex, currentIndex + 1)
60+
const isPunctuation = /[,.!?]/.test(letter)
61+
const delay = isPunctuation
62+
? typingDelay * punctuationDelayMultiplier
63+
: typingDelay
64+
65+
if (timeDiff >= delay) {
66+
setSummary(rawSummary.slice(0, currentIndex + 1))
67+
lastUpdateTime = currentTime
68+
currentIndex++
69+
70+
if (currentIndex < rawSummary.length) {
71+
setSummary(rawSummary.slice(0, currentIndex))
72+
} else {
73+
setSummary(rawSummary)
74+
observer.disconnect()
75+
}
76+
}
77+
requestAnimationFrame(animate)
78+
}
79+
}
80+
animate(rawSummary)
81+
const observer = new IntersectionObserver(
82+
entries => {
83+
animationRunning = entries[0].isIntersecting
84+
if (animationRunning && currentIndex === 0) {
85+
setTimeout(() => {
86+
requestAnimationFrame(animate)
87+
}, 200)
88+
}
89+
},
90+
{ threshold: 0 }
91+
)
92+
let post_ai = document.querySelector('.post-ai')
93+
if (post_ai) {
94+
observer.observe(post_ai)
95+
}
96+
}
97+
98+
export default AISummary

components/AISummary.module.css

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
.post-ai {
2+
font-family: 'Noto Sans SC', sans-serif;
3+
margin-bottom: 20px;
4+
}
5+
.ai-container {
6+
background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
7+
border: 1px solid #e8e8e8;
8+
border-radius: 10px;
9+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
10+
overflow: hidden;
11+
}
12+
.ai-header {
13+
background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
14+
color: white;
15+
padding: 12px 20px;
16+
display: flex;
17+
align-items: center;
18+
}
19+
.ai-icon {
20+
margin-right: 10px;
21+
}
22+
.ai-title {
23+
font-size: 18px;
24+
font-weight: bold;
25+
flex-grow: 1;
26+
}
27+
.ai-tag {
28+
background-color: rgba(255, 255, 255, 0.2);
29+
padding: 3px 8px;
30+
border-radius: 12px;
31+
font-size: 12px;
32+
}
33+
.ai-content {
34+
padding: 20px;
35+
}
36+
.ai-explanation {
37+
font-size: 16px;
38+
line-height: 1.6;
39+
color: #333;
40+
}
41+
.blinking-cursor {
42+
display: inline-block;
43+
width: 2px;
44+
height: 20px;
45+
background-color: #333;
46+
animation: blink 0.7s infinite;
47+
margin-left: 5px;
48+
}
49+
@keyframes blink {
50+
0% { opacity: 0; }
51+
50% { opacity: 1; }
52+
100% { opacity: 0; }
53+
}

components/Artalk.js

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,32 @@ const Artalk = ({ siteInfo }) => {
2020

2121
const initArtalk = async () => {
2222
await loadExternalResource(artalkCss, 'css')
23-
window?.Artalk?.init({
24-
server: artalkServer, // 后端地址
25-
el: '#artalk', // 容器元素
23+
const artalk = window?.Artalk?.init({
24+
server: artalkServer,
25+
el: '#artalk',
2626
locale: artalkLocale,
27-
// pageKey: '/post/1', // 固定链接 (留空自动获取)
28-
// pageTitle: '关于引入 Artalk 的这档子事', // 页面标题 (留空自动获取)
29-
site: site // 你的站点名
27+
site: site,
28+
darkMode: document.documentElement.classList.contains('dark')
3029
})
30+
31+
const observer = new MutationObserver((mutations) => {
32+
mutations.forEach((mutation) => {
33+
if (mutation.attributeName === 'class') {
34+
const isDark = document.documentElement.classList.contains('dark')
35+
artalk?.setDarkMode(isDark)
36+
}
37+
})
38+
})
39+
40+
observer.observe(document.documentElement, {
41+
attributes: true,
42+
attributeFilter: ['class']
43+
})
44+
45+
return () => observer.disconnect()
3146
}
32-
return (
33-
<div id="artalk"></div>
34-
)
47+
48+
return <div id="artalk"></div>
3549
}
3650

37-
export default Artalk
51+
export default Artalk

components/GoogleAdsense.js

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,10 @@ function requestAd(ads) {
3939
// 获取节点或其子节点中包含 adsbygoogle 类的节点
4040
function getNodesWithAdsByGoogleClass(node) {
4141
const adsNodes = []
42+
4243
// 检查节点及其子节点是否包含 adsbygoogle 类
4344
function checkNodeForAds(node) {
44-
if (
45-
node.nodeType === Node.ELEMENT_NODE &&
46-
node.classList.contains('adsbygoogle')
47-
) {
45+
if (node.tagName === 'INS' && node.classList.contains('adsbygoogle')) {
4846
adsNodes.push(node)
4947
} else {
5048
// 递归检查子节点
@@ -53,6 +51,7 @@ function getNodesWithAdsByGoogleClass(node) {
5351
}
5452
}
5553
}
54+
5655
checkNodeForAds(node)
5756
return adsNodes
5857
}
@@ -69,7 +68,7 @@ export const initGoogleAdsense = async ADSENSE_GOOGLE_ID => {
6968
).then(url => {
7069
setTimeout(() => {
7170
// 页面加载完成后加载一次广告
72-
const ads = document.getElementsByClassName('adsbygoogle')
71+
const ads = document.querySelectorAll('ins.adsbygoogle')
7372
if (window.adsbygoogle && ads.length > 0) {
7473
requestAd(Array.from(ads))
7574
}
@@ -97,7 +96,11 @@ export const initGoogleAdsense = async ADSENSE_GOOGLE_ID => {
9796
}
9897

9998
// 启动 MutationObserver
100-
observer.observe(document.body, observerConfig)
99+
observer.observe(
100+
document.querySelector('#article-wrapper #notion-article') ||
101+
document.body,
102+
observerConfig
103+
)
101104
}, 100)
102105
})
103106
}
@@ -174,43 +177,39 @@ const AdSlot = ({ type = 'show' }) => {
174177
* @param {*} props
175178
*/
176179
const AdEmbed = () => {
180+
const ADSENSE_GOOGLE_ID = siteConfig('ADSENSE_GOOGLE_ID')
181+
const ADSENSE_GOOGLE_TEST = siteConfig('ADSENSE_GOOGLE_TEST')
182+
const ADSENSE_GOOGLE_SLOT_AUTO = siteConfig('ADSENSE_GOOGLE_SLOT_AUTO')
177183
useEffect(() => {
178184
setTimeout(() => {
179185
// 找到所有 class 为 notion-text 且内容为 '<ins/>' 的 div 元素
180-
const notionTextElements = document.querySelectorAll('div.notion-text')
181-
186+
const notionTextElements = document.querySelectorAll(
187+
'#article-wrapper #notion-article div.notion-text'
188+
)
182189
// 遍历找到的元素
183190
notionTextElements?.forEach(element => {
184191
// 检查元素的内容是否为 '<ins/>'
185-
if (element.innerHTML.trim() === '&lt;ins/&gt;') {
192+
if (element.textContent.trim() === '<ins/>') {
186193
// 创建新的 <ins> 元素
187194
const newInsElement = document.createElement('ins')
188195
newInsElement.className = 'adsbygoogle w-full py-1'
189196
newInsElement.style.display = 'block'
190-
newInsElement.setAttribute(
191-
'data-ad-client',
192-
siteConfig('ADSENSE_GOOGLE_ID')
193-
)
197+
newInsElement.setAttribute('data-ad-client', ADSENSE_GOOGLE_ID)
194198
newInsElement.setAttribute(
195199
'data-adtest',
196-
siteConfig('ADSENSE_GOOGLE_TEST') ? 'on' : 'off'
197-
)
198-
newInsElement.setAttribute(
199-
'data-ad-slot',
200-
siteConfig('ADSENSE_GOOGLE_SLOT_AUTO')
200+
ADSENSE_GOOGLE_TEST ? 'on' : 'off'
201201
)
202+
newInsElement.setAttribute('data-ad-slot', ADSENSE_GOOGLE_SLOT_AUTO)
202203
newInsElement.setAttribute('data-ad-format', 'auto')
203204
newInsElement.setAttribute('data-full-width-responsive', 'true')
204205

205206
// 用新创建的 <ins> 元素替换掉原来的 div 元素
206207
element?.parentNode?.replaceChild(newInsElement, element)
207208
}
208209
})
209-
210-
requestAd()
211210
}, 1000)
212211
}, [])
213212
return <></>
214213
}
215214

216-
export { AdEmbed, AdSlot }
215+
export { AdEmbed, AdSlot }

components/NotionPage.js

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { siteConfig } from '@/lib/config'
22
import { compressImage, mapImgUrl } from '@/lib/notion/mapImage'
3-
import { isBrowser } from '@/lib/utils'
3+
import { isBrowser, loadExternalResource } from '@/lib/utils'
44
import mediumZoom from '@fisch0920/medium-zoom'
55
import 'katex/dist/katex.min.css'
66
import dynamic from 'next/dynamic'
@@ -17,6 +17,7 @@ const NotionPage = ({ post, className }) => {
1717
// 是否关闭数据库和画册的点击跳转
1818
const POST_DISABLE_GALLERY_CLICK = siteConfig('POST_DISABLE_GALLERY_CLICK')
1919
const POST_DISABLE_DATABASE_CLICK = siteConfig('POST_DISABLE_DATABASE_CLICK')
20+
const SPOILER_TEXT_TAG = siteConfig('SPOILER_TEXT_TAG')
2021

2122
const zoom =
2223
isBrowser &&
@@ -27,7 +28,7 @@ const NotionPage = ({ post, className }) => {
2728
})
2829

2930
const zoomRef = useRef(zoom ? zoom.clone() : null)
30-
31+
const IMAGE_ZOOM_IN_WIDTH = siteConfig('IMAGE_ZOOM_IN_WIDTH', 1200)
3132
// 页面首次打开时执行的勾子
3233
useEffect(() => {
3334
// 检测当前的url并自动滚动到对应目标
@@ -64,7 +65,7 @@ const NotionPage = ({ post, className }) => {
6465
// 替换为更高清的图像
6566
mutation?.target?.setAttribute(
6667
'src',
67-
compressImage(src, siteConfig('IMAGE_ZOOM_IN_WIDTH', 1200))
68+
compressImage(src, IMAGE_ZOOM_IN_WIDTH)
6869
)
6970
}, 800)
7071
}
@@ -84,6 +85,21 @@ const NotionPage = ({ post, className }) => {
8485
}
8586
}, [post])
8687

88+
useEffect(() => {
89+
// Spoiler文本功能
90+
if (SPOILER_TEXT_TAG) {
91+
import('lodash/escapeRegExp').then(escapeRegExp => {
92+
Promise.all([
93+
loadExternalResource('/js/spoilerText.js', 'js'),
94+
loadExternalResource('/css/spoiler-text.css', 'css')
95+
]).then(() => {
96+
window.textToSpoiler &&
97+
window.textToSpoiler(escapeRegExp.default(SPOILER_TEXT_TAG))
98+
})
99+
})
100+
}
101+
}, [post])
102+
87103
return (
88104
<div
89105
id='notion-article'
@@ -150,7 +166,7 @@ const autoScrollToHash = () => {
150166
setTimeout(() => {
151167
// 跳转到指定标题
152168
const hash = window?.location?.hash
153-
const needToJumpToTitle = hash && hash > 0
169+
const needToJumpToTitle = hash && hash.length > 0
154170
if (needToJumpToTitle) {
155171
console.log('jump to hash', hash)
156172
const tocNode = document.getElementById(hash.substring(1))
@@ -263,4 +279,4 @@ const Tweet = ({ id }) => {
263279
return <TweetEmbed tweetId={id} />
264280
}
265281

266-
export default NotionPage
282+
export default NotionPage

components/Player.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,9 @@ const Player = () => {
7171
fixed='true'
7272
type='playlist'
7373
preload='auto'
74-
lrc-type={siteConfig('MUSIC_PLAYER_METING_LRC_TYPE')}
7574
api={siteConfig(
7675
'MUSIC_PLAYER_METING_API',
77-
'https://api.i-meto.com/meting/api'
76+
'https://api.i-meto.com/meting/api?server=:server&type=:type&id=:id&r=:r'
7877
)}
7978
autoplay={autoPlay}
8079
order={siteConfig('MUSIC_PLAYER_ORDER')}
@@ -88,4 +87,4 @@ const Player = () => {
8887
)
8988
}
9089

91-
export default Player
90+
export default Player

0 commit comments

Comments
 (0)