From 1d5a904ab2813afb97269464693b898c2e44442b Mon Sep 17 00:00:00 2001 From: Ji You Date: Wed, 28 Aug 2024 16:12:18 +0800 Subject: [PATCH] =?UTF-8?q?Pagefind=20=E6=95=B4=E5=90=88=20Jekyll=20?= =?UTF-8?q?=E9=9D=99=E6=80=81=E6=90=9C=E7=B4=A2=20(#47)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * emoji update * Update search * add pagefind index * Pagefind 整合 Jekyll 静态搜索 * Pagefind 整合 Jekyll 静态搜索 --------- Co-authored-by: JiYouMCC --- .gitignore | 3 +- _config.yml | 1 - _includes/right.html | 2 + _layouts/post.html | 22 +- _posts/2024-06-11-105.markdown | 133 ++ _posts/2024-08-28-108.markdown | 164 ++ img/blog_108_autoui.JPG | Bin 0 -> 141474 bytes img/blog_108_new-search-wrong.JPG | Bin 0 -> 10488 bytes img/blog_108_new-search.JPG | Bin 0 -> 153426 bytes img/blog_108_old-search.JPG | Bin 0 -> 46560 bytes js/search.js | 92 +- lib/lunr.jp.js | 118 -- lib/lunr.js | 1880 ----------------- lib/lunr.stemmer.support.js | 282 --- lib/tinyseg.js | 176 -- pagefind/fragment/zh-cn_11ea394.pf_fragment | Bin 0 -> 521 bytes pagefind/fragment/zh-cn_134ebcf.pf_fragment | Bin 0 -> 839 bytes pagefind/fragment/zh-cn_16a8da7.pf_fragment | Bin 0 -> 604 bytes pagefind/fragment/zh-cn_186c412.pf_fragment | Bin 0 -> 1138 bytes pagefind/fragment/zh-cn_192ca2b.pf_fragment | Bin 0 -> 710 bytes pagefind/fragment/zh-cn_1b55a5f.pf_fragment | Bin 0 -> 908 bytes pagefind/fragment/zh-cn_205821b.pf_fragment | Bin 0 -> 4720 bytes pagefind/fragment/zh-cn_28494d6.pf_fragment | Bin 0 -> 2722 bytes pagefind/fragment/zh-cn_28a319e.pf_fragment | Bin 0 -> 2367 bytes pagefind/fragment/zh-cn_296aa8a.pf_fragment | Bin 0 -> 916 bytes pagefind/fragment/zh-cn_2ad1c31.pf_fragment | Bin 0 -> 1369 bytes pagefind/fragment/zh-cn_2c46ce3.pf_fragment | Bin 0 -> 836 bytes pagefind/fragment/zh-cn_32c40b0.pf_fragment | Bin 0 -> 301 bytes pagefind/fragment/zh-cn_38bf539.pf_fragment | Bin 0 -> 1088 bytes pagefind/fragment/zh-cn_3b6c4a5.pf_fragment | Bin 0 -> 927 bytes pagefind/fragment/zh-cn_3dfe349.pf_fragment | Bin 0 -> 1159 bytes pagefind/fragment/zh-cn_40ee3e9.pf_fragment | Bin 0 -> 949 bytes pagefind/fragment/zh-cn_422a325.pf_fragment | Bin 0 -> 897 bytes pagefind/fragment/zh-cn_43fb779.pf_fragment | Bin 0 -> 655 bytes pagefind/fragment/zh-cn_451b465.pf_fragment | Bin 0 -> 1074 bytes pagefind/fragment/zh-cn_456a759.pf_fragment | Bin 0 -> 732 bytes pagefind/fragment/zh-cn_4d31e17.pf_fragment | Bin 0 -> 743 bytes pagefind/fragment/zh-cn_4eae201.pf_fragment | Bin 0 -> 986 bytes pagefind/fragment/zh-cn_549f943.pf_fragment | Bin 0 -> 1194 bytes pagefind/fragment/zh-cn_55569de.pf_fragment | Bin 0 -> 694 bytes pagefind/fragment/zh-cn_55fee7c.pf_fragment | Bin 0 -> 2844 bytes pagefind/fragment/zh-cn_5bbac5f.pf_fragment | Bin 0 -> 847 bytes pagefind/fragment/zh-cn_5c61a9f.pf_fragment | Bin 0 -> 2512 bytes pagefind/fragment/zh-cn_5ce6de2.pf_fragment | Bin 0 -> 18455 bytes pagefind/fragment/zh-cn_5e6385e.pf_fragment | Bin 0 -> 1049 bytes pagefind/fragment/zh-cn_5eca1c0.pf_fragment | Bin 0 -> 1954 bytes pagefind/fragment/zh-cn_61aad3f.pf_fragment | Bin 0 -> 379 bytes pagefind/fragment/zh-cn_62f3f76.pf_fragment | Bin 0 -> 2848 bytes pagefind/fragment/zh-cn_635b1dd.pf_fragment | Bin 0 -> 502 bytes pagefind/fragment/zh-cn_6466f4c.pf_fragment | Bin 0 -> 402 bytes pagefind/fragment/zh-cn_66c35c2.pf_fragment | Bin 0 -> 346 bytes pagefind/fragment/zh-cn_6a9256f.pf_fragment | Bin 0 -> 811 bytes pagefind/fragment/zh-cn_6bde7ef.pf_fragment | Bin 0 -> 2045 bytes pagefind/fragment/zh-cn_6f1f4b3.pf_fragment | Bin 0 -> 5606 bytes pagefind/fragment/zh-cn_7238bef.pf_fragment | Bin 0 -> 535 bytes pagefind/fragment/zh-cn_75a91fe.pf_fragment | Bin 0 -> 1023 bytes pagefind/fragment/zh-cn_7782caf.pf_fragment | Bin 0 -> 3475 bytes pagefind/fragment/zh-cn_79c2f1e.pf_fragment | Bin 0 -> 743 bytes pagefind/fragment/zh-cn_7a03c6c.pf_fragment | Bin 0 -> 1034 bytes pagefind/fragment/zh-cn_7c0df1a.pf_fragment | Bin 0 -> 3228 bytes pagefind/fragment/zh-cn_7ebb257.pf_fragment | Bin 0 -> 452 bytes pagefind/fragment/zh-cn_8432609.pf_fragment | Bin 0 -> 1007 bytes pagefind/fragment/zh-cn_891cb8b.pf_fragment | Bin 0 -> 4196 bytes pagefind/fragment/zh-cn_89a4c9c.pf_fragment | Bin 0 -> 892 bytes pagefind/fragment/zh-cn_8b2b66a.pf_fragment | Bin 0 -> 284 bytes pagefind/fragment/zh-cn_8ec9b04.pf_fragment | Bin 0 -> 5340 bytes pagefind/fragment/zh-cn_9429427.pf_fragment | Bin 0 -> 1461 bytes pagefind/fragment/zh-cn_a01ec9b.pf_fragment | Bin 0 -> 894 bytes pagefind/fragment/zh-cn_a16b362.pf_fragment | Bin 0 -> 1290 bytes pagefind/fragment/zh-cn_a2cebc6.pf_fragment | Bin 0 -> 1593 bytes pagefind/fragment/zh-cn_a4e6d3f.pf_fragment | Bin 0 -> 508 bytes pagefind/fragment/zh-cn_a51c612.pf_fragment | Bin 0 -> 967 bytes pagefind/fragment/zh-cn_a5d676c.pf_fragment | Bin 0 -> 1058 bytes pagefind/fragment/zh-cn_a6ef2d2.pf_fragment | Bin 0 -> 921 bytes pagefind/fragment/zh-cn_a71c115.pf_fragment | Bin 0 -> 6835 bytes pagefind/fragment/zh-cn_a984553.pf_fragment | Bin 0 -> 1062 bytes pagefind/fragment/zh-cn_aa5ad23.pf_fragment | Bin 0 -> 6660 bytes pagefind/fragment/zh-cn_ab392be.pf_fragment | Bin 0 -> 961 bytes pagefind/fragment/zh-cn_abc4b4d.pf_fragment | Bin 0 -> 1467 bytes pagefind/fragment/zh-cn_acff393.pf_fragment | Bin 0 -> 5624 bytes pagefind/fragment/zh-cn_ae7acbd.pf_fragment | Bin 0 -> 336 bytes pagefind/fragment/zh-cn_af22162.pf_fragment | Bin 0 -> 651 bytes pagefind/fragment/zh-cn_af2eff9.pf_fragment | Bin 0 -> 511 bytes pagefind/fragment/zh-cn_af9f311.pf_fragment | Bin 0 -> 1697 bytes pagefind/fragment/zh-cn_b18d1fc.pf_fragment | Bin 0 -> 942 bytes pagefind/fragment/zh-cn_b31193f.pf_fragment | Bin 0 -> 920 bytes pagefind/fragment/zh-cn_bae566f.pf_fragment | Bin 0 -> 1118 bytes pagefind/fragment/zh-cn_bb61cac.pf_fragment | Bin 0 -> 738 bytes pagefind/fragment/zh-cn_bc6d28b.pf_fragment | Bin 0 -> 590 bytes pagefind/fragment/zh-cn_bd38c27.pf_fragment | Bin 0 -> 1219 bytes pagefind/fragment/zh-cn_be9f699.pf_fragment | Bin 0 -> 2027 bytes pagefind/fragment/zh-cn_bf576c9.pf_fragment | Bin 0 -> 2191 bytes pagefind/fragment/zh-cn_c0e2b42.pf_fragment | Bin 0 -> 1090 bytes pagefind/fragment/zh-cn_c146c66.pf_fragment | Bin 0 -> 1309 bytes pagefind/fragment/zh-cn_c1aa68f.pf_fragment | Bin 0 -> 793 bytes pagefind/fragment/zh-cn_c3b0738.pf_fragment | Bin 0 -> 409 bytes pagefind/fragment/zh-cn_c3db7d0.pf_fragment | Bin 0 -> 1079 bytes pagefind/fragment/zh-cn_c8bd9b7.pf_fragment | Bin 0 -> 808 bytes pagefind/fragment/zh-cn_c8c4965.pf_fragment | Bin 0 -> 481 bytes pagefind/fragment/zh-cn_d6bc95e.pf_fragment | Bin 0 -> 1406 bytes pagefind/fragment/zh-cn_d7aa71a.pf_fragment | Bin 0 -> 738 bytes pagefind/fragment/zh-cn_d85b937.pf_fragment | Bin 0 -> 3250 bytes pagefind/fragment/zh-cn_da7ddbc.pf_fragment | Bin 0 -> 3518 bytes pagefind/fragment/zh-cn_dde36e6.pf_fragment | Bin 0 -> 275 bytes pagefind/fragment/zh-cn_de5328e.pf_fragment | Bin 0 -> 578 bytes pagefind/fragment/zh-cn_de8fb9c.pf_fragment | Bin 0 -> 1031 bytes pagefind/fragment/zh-cn_e0cb9aa.pf_fragment | Bin 0 -> 2858 bytes pagefind/fragment/zh-cn_e5c43f1.pf_fragment | Bin 0 -> 790 bytes pagefind/fragment/zh-cn_e7c2da8.pf_fragment | Bin 0 -> 806 bytes pagefind/fragment/zh-cn_ed3a7cd.pf_fragment | Bin 0 -> 1065 bytes pagefind/fragment/zh-cn_ed6d8a5.pf_fragment | Bin 0 -> 630 bytes pagefind/fragment/zh-cn_f01fd1d.pf_fragment | Bin 0 -> 393 bytes pagefind/fragment/zh-cn_f135adf.pf_fragment | Bin 0 -> 1359 bytes pagefind/fragment/zh-cn_f6389a6.pf_fragment | Bin 0 -> 1798 bytes pagefind/fragment/zh-cn_f77c464.pf_fragment | Bin 0 -> 479 bytes pagefind/fragment/zh-cn_ffdb446.pf_fragment | Bin 0 -> 519 bytes pagefind/index/zh-cn_8a2b65e.pf_index | Bin 0 -> 48466 bytes pagefind/index/zh-cn_9a1a89d.pf_index | Bin 0 -> 87577 bytes pagefind/index/zh-cn_9ea7fa3.pf_index | Bin 0 -> 37148 bytes pagefind/index/zh-cn_d8a1090.pf_index | Bin 0 -> 46595 bytes pagefind/pagefind-entry.json | 1 + pagefind/pagefind-highlight.js | 1069 ++++++++++ pagefind/pagefind-modular-ui.css | 214 ++ pagefind/pagefind-modular-ui.js | 8 + pagefind/pagefind-ui.css | 1 + pagefind/pagefind-ui.js | 2 + pagefind/pagefind.js | 9 + pagefind/pagefind.zh-cn_31ea1c57901e1.pf_meta | Bin 0 -> 901 bytes pagefind/wasm.unknown.pagefind | Bin 0 -> 66842 bytes search.html | 19 +- search_data.json | 16 - 131 files changed, 1666 insertions(+), 2546 deletions(-) create mode 100644 _posts/2024-08-28-108.markdown create mode 100644 img/blog_108_autoui.JPG create mode 100644 img/blog_108_new-search-wrong.JPG create mode 100644 img/blog_108_new-search.JPG create mode 100644 img/blog_108_old-search.JPG delete mode 100644 lib/lunr.jp.js delete mode 100644 lib/lunr.js delete mode 100644 lib/lunr.stemmer.support.js delete mode 100644 lib/tinyseg.js create mode 100644 pagefind/fragment/zh-cn_11ea394.pf_fragment create mode 100644 pagefind/fragment/zh-cn_134ebcf.pf_fragment create mode 100644 pagefind/fragment/zh-cn_16a8da7.pf_fragment create mode 100644 pagefind/fragment/zh-cn_186c412.pf_fragment create mode 100644 pagefind/fragment/zh-cn_192ca2b.pf_fragment create mode 100644 pagefind/fragment/zh-cn_1b55a5f.pf_fragment create mode 100644 pagefind/fragment/zh-cn_205821b.pf_fragment create mode 100644 pagefind/fragment/zh-cn_28494d6.pf_fragment create mode 100644 pagefind/fragment/zh-cn_28a319e.pf_fragment create mode 100644 pagefind/fragment/zh-cn_296aa8a.pf_fragment create mode 100644 pagefind/fragment/zh-cn_2ad1c31.pf_fragment create mode 100644 pagefind/fragment/zh-cn_2c46ce3.pf_fragment create mode 100644 pagefind/fragment/zh-cn_32c40b0.pf_fragment create mode 100644 pagefind/fragment/zh-cn_38bf539.pf_fragment create mode 100644 pagefind/fragment/zh-cn_3b6c4a5.pf_fragment create mode 100644 pagefind/fragment/zh-cn_3dfe349.pf_fragment create mode 100644 pagefind/fragment/zh-cn_40ee3e9.pf_fragment create mode 100644 pagefind/fragment/zh-cn_422a325.pf_fragment create mode 100644 pagefind/fragment/zh-cn_43fb779.pf_fragment create mode 100644 pagefind/fragment/zh-cn_451b465.pf_fragment create mode 100644 pagefind/fragment/zh-cn_456a759.pf_fragment create mode 100644 pagefind/fragment/zh-cn_4d31e17.pf_fragment create mode 100644 pagefind/fragment/zh-cn_4eae201.pf_fragment create mode 100644 pagefind/fragment/zh-cn_549f943.pf_fragment create mode 100644 pagefind/fragment/zh-cn_55569de.pf_fragment create mode 100644 pagefind/fragment/zh-cn_55fee7c.pf_fragment create mode 100644 pagefind/fragment/zh-cn_5bbac5f.pf_fragment create mode 100644 pagefind/fragment/zh-cn_5c61a9f.pf_fragment create mode 100644 pagefind/fragment/zh-cn_5ce6de2.pf_fragment create mode 100644 pagefind/fragment/zh-cn_5e6385e.pf_fragment create mode 100644 pagefind/fragment/zh-cn_5eca1c0.pf_fragment create mode 100644 pagefind/fragment/zh-cn_61aad3f.pf_fragment create mode 100644 pagefind/fragment/zh-cn_62f3f76.pf_fragment create mode 100644 pagefind/fragment/zh-cn_635b1dd.pf_fragment create mode 100644 pagefind/fragment/zh-cn_6466f4c.pf_fragment create mode 100644 pagefind/fragment/zh-cn_66c35c2.pf_fragment create mode 100644 pagefind/fragment/zh-cn_6a9256f.pf_fragment create mode 100644 pagefind/fragment/zh-cn_6bde7ef.pf_fragment create mode 100644 pagefind/fragment/zh-cn_6f1f4b3.pf_fragment create mode 100644 pagefind/fragment/zh-cn_7238bef.pf_fragment create mode 100644 pagefind/fragment/zh-cn_75a91fe.pf_fragment create mode 100644 pagefind/fragment/zh-cn_7782caf.pf_fragment create mode 100644 pagefind/fragment/zh-cn_79c2f1e.pf_fragment create mode 100644 pagefind/fragment/zh-cn_7a03c6c.pf_fragment create mode 100644 pagefind/fragment/zh-cn_7c0df1a.pf_fragment create mode 100644 pagefind/fragment/zh-cn_7ebb257.pf_fragment create mode 100644 pagefind/fragment/zh-cn_8432609.pf_fragment create mode 100644 pagefind/fragment/zh-cn_891cb8b.pf_fragment create mode 100644 pagefind/fragment/zh-cn_89a4c9c.pf_fragment create mode 100644 pagefind/fragment/zh-cn_8b2b66a.pf_fragment create mode 100644 pagefind/fragment/zh-cn_8ec9b04.pf_fragment create mode 100644 pagefind/fragment/zh-cn_9429427.pf_fragment create mode 100644 pagefind/fragment/zh-cn_a01ec9b.pf_fragment create mode 100644 pagefind/fragment/zh-cn_a16b362.pf_fragment create mode 100644 pagefind/fragment/zh-cn_a2cebc6.pf_fragment create mode 100644 pagefind/fragment/zh-cn_a4e6d3f.pf_fragment create mode 100644 pagefind/fragment/zh-cn_a51c612.pf_fragment create mode 100644 pagefind/fragment/zh-cn_a5d676c.pf_fragment create mode 100644 pagefind/fragment/zh-cn_a6ef2d2.pf_fragment create mode 100644 pagefind/fragment/zh-cn_a71c115.pf_fragment create mode 100644 pagefind/fragment/zh-cn_a984553.pf_fragment create mode 100644 pagefind/fragment/zh-cn_aa5ad23.pf_fragment create mode 100644 pagefind/fragment/zh-cn_ab392be.pf_fragment create mode 100644 pagefind/fragment/zh-cn_abc4b4d.pf_fragment create mode 100644 pagefind/fragment/zh-cn_acff393.pf_fragment create mode 100644 pagefind/fragment/zh-cn_ae7acbd.pf_fragment create mode 100644 pagefind/fragment/zh-cn_af22162.pf_fragment create mode 100644 pagefind/fragment/zh-cn_af2eff9.pf_fragment create mode 100644 pagefind/fragment/zh-cn_af9f311.pf_fragment create mode 100644 pagefind/fragment/zh-cn_b18d1fc.pf_fragment create mode 100644 pagefind/fragment/zh-cn_b31193f.pf_fragment create mode 100644 pagefind/fragment/zh-cn_bae566f.pf_fragment create mode 100644 pagefind/fragment/zh-cn_bb61cac.pf_fragment create mode 100644 pagefind/fragment/zh-cn_bc6d28b.pf_fragment create mode 100644 pagefind/fragment/zh-cn_bd38c27.pf_fragment create mode 100644 pagefind/fragment/zh-cn_be9f699.pf_fragment create mode 100644 pagefind/fragment/zh-cn_bf576c9.pf_fragment create mode 100644 pagefind/fragment/zh-cn_c0e2b42.pf_fragment create mode 100644 pagefind/fragment/zh-cn_c146c66.pf_fragment create mode 100644 pagefind/fragment/zh-cn_c1aa68f.pf_fragment create mode 100644 pagefind/fragment/zh-cn_c3b0738.pf_fragment create mode 100644 pagefind/fragment/zh-cn_c3db7d0.pf_fragment create mode 100644 pagefind/fragment/zh-cn_c8bd9b7.pf_fragment create mode 100644 pagefind/fragment/zh-cn_c8c4965.pf_fragment create mode 100644 pagefind/fragment/zh-cn_d6bc95e.pf_fragment create mode 100644 pagefind/fragment/zh-cn_d7aa71a.pf_fragment create mode 100644 pagefind/fragment/zh-cn_d85b937.pf_fragment create mode 100644 pagefind/fragment/zh-cn_da7ddbc.pf_fragment create mode 100644 pagefind/fragment/zh-cn_dde36e6.pf_fragment create mode 100644 pagefind/fragment/zh-cn_de5328e.pf_fragment create mode 100644 pagefind/fragment/zh-cn_de8fb9c.pf_fragment create mode 100644 pagefind/fragment/zh-cn_e0cb9aa.pf_fragment create mode 100644 pagefind/fragment/zh-cn_e5c43f1.pf_fragment create mode 100644 pagefind/fragment/zh-cn_e7c2da8.pf_fragment create mode 100644 pagefind/fragment/zh-cn_ed3a7cd.pf_fragment create mode 100644 pagefind/fragment/zh-cn_ed6d8a5.pf_fragment create mode 100644 pagefind/fragment/zh-cn_f01fd1d.pf_fragment create mode 100644 pagefind/fragment/zh-cn_f135adf.pf_fragment create mode 100644 pagefind/fragment/zh-cn_f6389a6.pf_fragment create mode 100644 pagefind/fragment/zh-cn_f77c464.pf_fragment create mode 100644 pagefind/fragment/zh-cn_ffdb446.pf_fragment create mode 100644 pagefind/index/zh-cn_8a2b65e.pf_index create mode 100644 pagefind/index/zh-cn_9a1a89d.pf_index create mode 100644 pagefind/index/zh-cn_9ea7fa3.pf_index create mode 100644 pagefind/index/zh-cn_d8a1090.pf_index create mode 100644 pagefind/pagefind-entry.json create mode 100644 pagefind/pagefind-highlight.js create mode 100644 pagefind/pagefind-modular-ui.css create mode 100644 pagefind/pagefind-modular-ui.js create mode 100644 pagefind/pagefind-ui.css create mode 100644 pagefind/pagefind-ui.js create mode 100644 pagefind/pagefind.js create mode 100644 pagefind/pagefind.zh-cn_31ea1c57901e1.pf_meta create mode 100644 pagefind/wasm.unknown.pagefind delete mode 100644 search_data.json diff --git a/.gitignore b/.gitignore index 4ea5bd5..a9fd2dc 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ _site .sass-cache .jekyll-metadata .jekyll-cache -Gemfile.lock \ No newline at end of file +Gemfile.lock +/pagefind.exe diff --git a/_config.yml b/_config.yml index 97610e9..b602cb7 100644 --- a/_config.yml +++ b/_config.yml @@ -31,4 +31,3 @@ defaults: exclude: [vendor] plugins: - jekyll-paginate - - jekyll-gist diff --git a/_includes/right.html b/_includes/right.html index c39f8a3..c5e0ed0 100644 --- a/_includes/right.html +++ b/_includes/right.html @@ -1,3 +1,4 @@ + diff --git a/_layouts/post.html b/_layouts/post.html index 2cdfa0d..6cbbd32 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,17 +1,19 @@ --- layout: default --- -
- +