diff --git a/README.md b/README.md index 819c9a6c..5d507420 100644 --- a/README.md +++ b/README.md @@ -158,6 +158,20 @@ If you are using this theme, welcome to leave your site in [Demo Sites | Example
Shawn's Blog + + + + +
+ Hexagon +
+ + + + +
+ Cypher Sun +
diff --git a/README_zh-CN.md b/README_zh-CN.md index a64ab739..82f52ba4 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -161,6 +161,20 @@ npm install hexo-theme-async@latest
Shawn's Blog + + + + +
+ Hexagon +
+ + + + +
+ Cypher Sun +
diff --git a/demo/_config.async.yml b/demo/_config.async.yml index d469d39e..04c919c6 100644 --- a/demo/_config.async.yml +++ b/demo/_config.async.yml @@ -101,34 +101,39 @@ highlight: height_limit: 200 theme: - switch: false + switch: true cover: default: - /img/block.jpg - - https://th.wallhaven.cc/orig/wq/wqvkl7.jpg - - https://th.wallhaven.cc/orig/rd/rdq3v1.jpg - - https://th.wallhaven.cc/orig/rd/rd183j.jpg - - https://th.wallhaven.cc/orig/q2/q287wd.jpg - - https://th.wallhaven.cc/orig/g7/g79ov3.jpg - - https://th.wallhaven.cc/orig/q2/q2mkzr.jpg - - https://th.wallhaven.cc/orig/v9/v9j3yp.jpg - - https://th.wallhaven.cc/orig/y8/y8yvzx.jpg - - https://th.wallhaven.cc/orig/1k/1kdw2w.jpg - - https://th.wallhaven.cc/orig/57/57jqk1.jpg - - https://th.wallhaven.cc/orig/57/5762p1.jpg - - https://th.wallhaven.cc/orig/j3/j3zo1y.jpg - - https://th.wallhaven.cc/orig/m9/m9gkky.jpg - - https://th.wallhaven.cc/orig/e7/e7kv9k.jpg - - https://th.wallhaven.cc/orig/ym/ym9ldk.jpg - - https://th.wallhaven.cc/orig/pk/pk5259.jpg - - https://th.wallhaven.cc/orig/8o/8opxpk.jpg - - https://th.wallhaven.cc/orig/k7/k7yog7.jpg - - https://th.wallhaven.cc/orig/v9/v93zv3.jpg - - https://th.wallhaven.cc/orig/wq/wqj65q.jpg - - https://th.wallhaven.cc/orig/p9/p9kg1m.jpg - - https://th.wallhaven.cc/orig/8o/8o9vw1.jpg - - https://th.wallhaven.cc/orig/x8/x8yy3o.jpg + - https://img2.wallspic.com/previews/7/6/8/1/7/171867/171867-wu_kong-chao_ji_sai_ya_ren-sai_ya_ren-zamasu-long_zhu-500x.jpg + - https://img3.wallspic.com/previews/2/0/1/8/6/168102/168102-yi_shu-ka_tong-mian_bu_biao_qing-kuai_le_de-ji_qie-500x.jpg + - https://img2.wallspic.com/previews/2/6/4/3/7/173462/173462-qi_fen-zi_se_de-zi_ran_jing_guan-yu_hui-de_ping_xian-500x.jpg + - https://img2.wallspic.com/previews/3/3/9/1/3/131933/131933-mo_xing-xiao_jie-huang_se_de-nu_hai-fa_xing-500x.jpg + - https://img1.wallspic.com/previews/8/3/4/6/2/126438/126438-wei_lai_zhu_yi-shu_ma_yi_shu-jie_duan-zi_ben_shi-yi_shu-500x.jpg + - https://img2.wallspic.com/previews/0/1/5/0/7/170510/170510-guang-azure-zi_se_de-zi_ran_huan_jing-zi_ran_jing_guan-500x.jpg + - https://img2.wallspic.com/previews/3/6/9/6/5/156963/156963-yi_shu-qi_fen-yu_hui-shou_shi-ren_men_zai_zi_ran_jie-500x.jpg + - https://img1.wallspic.com/previews/0/9/3/5/6/165390/165390-qi_fen-zi_se_de-zi_ran_huan_jing-zi_ran_jing_guan-tian_wen_xue_dui_xiang-500x.jpg + - https://img3.wallspic.com/previews/2/8/6/1/7/171682/171682-yi_kuai-xing_zhi-ye_ti-yi_shu-shui_xia-500x.jpg + - https://img1.wallspic.com/previews/7/1/9/9/89917/89917-bo_xi_ta_nuo-an_zhuang_de_feng_jing-cheng_shi-suo_lun_tuo-shan_zhan-500x.jpg + - https://img1.wallspic.com/previews/6/2/3/5/6/165326/165326-pang_ke2077-pang_ke-qi_fen-xing_zhi-zi_se_de-500x.jpg + - https://img2.wallspic.com/previews/8/9/4/5/6/165498/165498-ka_tong-tao-pin_hong_se-zhang_zhang_de_tou_fa-ji_qie-500x.jpg + - https://img3.wallspic.com/previews/5/7/4/2/7/172475/172475-yi_shu-tao-tou_fa-ka_tong-500x.jpg + - https://img2.wallspic.com/previews/5/0/9/0/70905/70905-hai_yang-ma_er_dai_fu-tian_kong-du_jia_cun-huan_jiao-500x.jpg + - https://img3.wallspic.com/previews/4/3/4/8/6/168434/168434-xing_zhi-zi_ran_jing_guan-dan_huang-shui_dao-zhi_bei-500x.jpg + - https://img2.wallspic.com/previews/6/5/4/5/6/165456/165456-giy_fu_gang-e_mo_sha_shoukimetsu_no_yaiba-shan_zi_de_yi_shu-zi_se_de-dian_lan_se_de-500x.jpg + - https://img1.wallspic.com/previews/5/4/0/4/7/174045/174045-jian_ying-qi_fen-ren_men_zai_zi_ran_jie-tian_wen_xue_dui_xiang-yi_shu-500x.jpg + - https://img1.wallspic.com/previews/9/3/1/6/5/156139/156139-feng_jing_hua-yi_shu-shu_ma_yi_shu-qi_fen-sheng_tai_qu-500x.jpg + - https://img2.wallspic.com/previews/7/6/4/5/7/175467/175467-wo_de_xue_shu_jie_de_ying_xiong-tao-yi_shu-ka_tong-azure-500x.jpg + - https://img1.wallspic.com/previews/3/7/0/0/7/170073/170073-liang_ge_ling-ka_tong-shou_shi-chuang_zao_xing_de_yi_shu-hong_se_de-500x.jpg + - https://img1.wallspic.com/previews/1/8/3/6/6/166381/166381-shi_zi-xin_ba-bai_se_shi_zi-hu_xu-mao_ke-500x.jpg + - https://img3.wallspic.com/previews/4/2/2/3/7/173224/173224-ri_luo-shui_zi_yuan-qi_fen-yu_hui-zi_se_de-500x.jpg + - https://img1.wallspic.com/previews/7/5/7/9/6/169757/169757-ji_bo_li_de_bo_wu_guan-zi_ran_jing_guan-yi_shu-ji_yun-500x.jpg + - https://img1.wallspic.com/previews/5/2/0/6/7/176025/176025-qi_fen-tian_wen_xue_dui_xiang-yi_shu-dian_lan_se_de-yuan_quan-500x.jpg + - https://img3.wallspic.com/previews/6/5/8/1/4/141856/141856-hen_ku_de-hui_hua-yu_yan_jing_tou-zhai_nan-tu_xing_she_ji-500x.jpg + - https://img1.wallspic.com/previews/2/1/6/5/6/165612/165612-kimetsu_no_yaiba-e_mo_sha_shoukimetsu_no_yaiba-tao-tou_fa-wai_tao-500x.jpg + - https://img3.wallspic.com/previews/5/1/0/2/4/142015/142015-feng_ge-ka_ka_xi_qi_mu-huo_ying_ren_zhe-tu_xing_she_ji-shi_jue_yi_shu-500x.jpg + - https://img1.wallspic.com/previews/8/8/7/8/5/158788/158788-e_mo_sha_shoukimetsu_no_yaiba-shnen_man_hua-tao-ka_tong-azure-500x.jpg type: random layout: @@ -136,4 +141,4 @@ layout: page_loading: async/page-loading post_card: async/post-card fixed_btn: async/fixed-btn - header_search: async/empty \ No newline at end of file + # header_search: async/empty \ No newline at end of file diff --git a/demo/layout/fixed-btn.pug b/demo/layout/fixed-btn.pug index f6e68762..94839516 100644 --- a/demo/layout/fixed-btn.pug +++ b/demo/layout/fixed-btn.pug @@ -12,24 +12,24 @@ div(class="trm-fixed-container") class="trm-fixed-btn post-toc-btn" data-title=`${__('rightside.toc_title')}` ) !{icon(theme.icons.toc_tag)} - if theme.search.enable - if theme.search.type === 'local' - div#trm-search-btn( - class="trm-fixed-btn" - data-title="查询" - ) !{icon(theme.icons.search)} - if theme.search.type === 'engine' - a#trm-search-btn( - class="trm-fixed-btn" - data-no-swup - target="_blank" - href=theme.search.href + theme.search.domain - ) !{icon(theme.icons.search)} - div( - class="trm-fixed-btn" - data-title="切换主题模式" - onclick="asyncFun.switchThemeMode(document.documentElement.classList.contains('dark')?'style-light':'style-dark')" - ) + //- if theme.search.enable + //- if theme.search.type === 'local' + //- div#trm-search-btn( + //- class="trm-fixed-btn" + //- data-title="查询" + //- ) !{icon(theme.icons.search)} + //- if theme.search.type === 'engine' + //- a#trm-search-btn( + //- class="trm-fixed-btn" + //- data-no-swup + //- target="_blank" + //- href=theme.search.href + theme.search.domain + //- ) !{icon(theme.icons.search)} + //- div( + //- class="trm-fixed-btn" + //- data-title="切换主题模式" + //- onclick="asyncFun.switchThemeMode(document.documentElement.classList.contains('dark')?'style-light':'style-dark')" + //- ) if is_post() && theme.rightside.readmode div( class="trm-fixed-btn" diff --git a/demo/layout/post-card.pug b/demo/layout/post-card.pug index 0e7af301..256e8a3e 100644 --- a/demo/layout/post-card.pug +++ b/demo/layout/post-card.pug @@ -17,7 +17,7 @@ if postIndex === 0 && is_home() div.col-lg-12 include ./test.pug h6.trm-mt-10 使用 pug 模块来自定义模板 - h6.trm-mt-10 演示主题使用自定义模块区域:首页文章卡片、主题切换、查询、Footer + h6.trm-mt-10 演示主题使用自定义模块区域:首页文章卡片、加载动画、页脚 div.col-lg-12 div.trm-blog-card.trm-scroll-animation(data-scroll, data-scroll-offset="40",style={ display: "flex" }) diff --git a/demo/source/gallery/index.md b/demo/source/gallery/index.md index 6b69d01d..c89c5017 100644 --- a/demo/source/gallery/index.md +++ b/demo/source/gallery/index.md @@ -5,7 +5,7 @@ single_column: true ---
-{% gallery '壁纸' '收藏的一些壁纸' '/gallery/wallpaper' https://th.wallhaven.cc/lg/72/72pqze.jpg 4 60 %} -{% gallery 'TIMI' '王者荣耀' '/gallery/timi' https://th.wallhaven.cc/orig/wq/wqvkl7.jpg 4 60 %} -{% gallery '壁纸' '收藏的一些壁纸' '/gallery/wallpaper' https://th.wallhaven.cc/lg/v9/v9w635.jpg 4 60 %} +{% gallery '壁纸' '收藏的一些壁纸' '/gallery/wallpaper' https://img1.wallspic.com/previews/5/0/1/6/6/166105/166105-pang_ke-zi_se_de-zi_luo_lan_se-fen_hong_se-pin_hong_se-500x.jpg 4 60 %} +{% gallery '壁纸' '收藏的一些壁纸' '/gallery/wallpaper' https://img1.wallspic.com/previews/8/8/8/0/7/170888/170888-de_fang_zi-chuang_kou-zhu_zhai_qu-mu-wu_ding-500x.jpg 4 60 %} +{% gallery '壁纸' '收藏的一些壁纸' '/gallery/wallpaper' https://img3.wallspic.com/previews/7/4/8/8/6/168847/168847-man_de_nu_hai-ka_tong-ren_men_zai_zi_ran_jie-kuai_le_de-yang_guang-500x.jpg 4 60 %}
\ No newline at end of file diff --git a/demo/source/gallery/timi.md b/demo/source/gallery/timi.md deleted file mode 100644 index f8fe5f81..00000000 --- a/demo/source/gallery/timi.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: 壁纸 -date: 2022-09-22 15:45:29 ---- - -
-{% galleryGroup %} -{% galleryItem https://th.wallhaven.cc/orig/wq/wqvkl7.jpg https://w.wallhaven.cc/full/wq/wallhaven-wqvkl7.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/rd/rdq3v1.jpg https://w.wallhaven.cc/full/rd/wallhaven-rdq3v1.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/rd/rd183j.jpg https://w.wallhaven.cc/full/rd/wallhaven-rd183j.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/q2/q287wd.jpg https://w.wallhaven.cc/full/q2/wallhaven-q287wd.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/g7/g79ov3.jpg https://w.wallhaven.cc/full/g7/wallhaven-g79ov3.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/q2/q2mkzr.jpg https://w.wallhaven.cc/full/q2/wallhaven-q2mkzr.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/v9/v9j3yp.jpg https://w.wallhaven.cc/full/v9/wallhaven-v9j3yp.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/y8/y8yvzx.jpg https://w.wallhaven.cc/full/y8/wallhaven-y8yvzx.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/1k/1kdw2w.jpg https://w.wallhaven.cc/full/1k/wallhaven-1kdw2w.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/57/57jqk1.jpg https://w.wallhaven.cc/full/57/wallhaven-57jqk1.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/57/5762p1.jpg https://w.wallhaven.cc/full/57/wallhaven-5762p1.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/j3/j3zo1y.jpg https://w.wallhaven.cc/full/j3/wallhaven-j3zo1y.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/m9/m9gkky.jpg https://w.wallhaven.cc/full/m9/wallhaven-m9gkky.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/e7/e7kv9k.jpg https://w.wallhaven.cc/full/e7/wallhaven-e7kv9k.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/ym/ym9ldk.jpg https://w.wallhaven.cc/full/ym/wallhaven-ym9ldk.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/pk/pk5259.jpg https://w.wallhaven.cc/full/pk/wallhaven-pk5259.png %} -{% galleryItem https://th.wallhaven.cc/orig/8o/8opxpk.jpg https://w.wallhaven.cc/full/8o/wallhaven-8opxpk.png %} -{% galleryItem https://th.wallhaven.cc/orig/k7/k7yog7.jpg https://w.wallhaven.cc/full/k7/wallhaven-k7yog7.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/v9/v93zv3.jpg https://w.wallhaven.cc/full/v9/wallhaven-v93zv3.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/wq/wqj65q.jpg https://w.wallhaven.cc/full/wq/wallhaven-wqj65q.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/p9/p9kg1m.jpg https://w.wallhaven.cc/full/p9/wallhaven-p9kg1m.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/8o/8o9vw1.jpg https://w.wallhaven.cc/full/8o/wallhaven-8o9vw1.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/x8/x8yy3o.jpg https://w.wallhaven.cc/full/x8/wallhaven-x8yy3o.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/6o/6ovo87.jpg https://w.wallhaven.cc/full/6o/wallhaven-6ovo87.jpg %} -{% endgalleryGroup %} -
\ No newline at end of file diff --git a/demo/source/gallery/wallpaper.md b/demo/source/gallery/wallpaper.md index 54b9c548..46b625c2 100644 --- a/demo/source/gallery/wallpaper.md +++ b/demo/source/gallery/wallpaper.md @@ -6,29 +6,35 @@ single_column: true
{% galleryGroup %} -{% galleryItem https://th.wallhaven.cc/orig/28/281d5y.jpg https://w.wallhaven.cc/full/28/wallhaven-281d5y.png %} -{% galleryItem https://th.wallhaven.cc/orig/rd/rdwjj7.jpg https://w.wallhaven.cc/full/rd/wallhaven-rdwjj7.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/9m/9mjoy1.jpg https://w.wallhaven.cc/full/9m/wallhaven-9mjoy1.png %} -{% galleryItem https://th.wallhaven.cc/orig/96/96w8e8.jpg https://w.wallhaven.cc/full/96/wallhaven-96w8e8.png %} -{% galleryItem https://th.wallhaven.cc/orig/pk/pkgkkp.jpg https://w.wallhaven.cc/full/pk/wallhaven-pkgkkp.png %} -{% galleryItem https://th.wallhaven.cc/orig/13/13vym3.jpg https://w.wallhaven.cc/full/13/wallhaven-13vym3.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/rd/rddgwm.jpg https://w.wallhaven.cc/full/rd/wallhaven-rddgwm.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/z8/z8dg9y.jpg https://w.wallhaven.cc/full/z8/wallhaven-z8dg9y.png %} -{% galleryItem https://th.wallhaven.cc/orig/l3/l3zmwy.jpg https://w.wallhaven.cc/full/l3/wallhaven-l3zmwy.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/y8/y8622k.jpg https://w.wallhaven.cc/full/y8/wallhaven-y8622k.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/pk/pkw6y3.jpg https://w.wallhaven.cc/full/pk/wallhaven-pkw6y3.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/l3/l3xk6q.jpg https://w.wallhaven.cc/full/l3/wallhaven-l3xk6q.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/3z/3z32j3.jpg https://w.wallhaven.cc/full/3z/wallhaven-3z32j3.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/v9/v9v3r5.jpg https://w.wallhaven.cc/full/v9/wallhaven-v9v3r5.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/j3/j3m8y5.jpg https://w.wallhaven.cc/full/j3/wallhaven-j3m8y5.png %} -{% galleryItem https://th.wallhaven.cc/orig/2e/2eq1gy.jpg https://w.wallhaven.cc/full/2e/wallhaven-2eq1gy.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/ym/ymz61d.jpg https://w.wallhaven.cc/full/ym/wallhaven-ymz61d.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/2e/2em38y.jpg https://w.wallhaven.cc/full/2e/wallhaven-2em38y.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/ey/ey251r.jpg https://w.wallhaven.cc/full/ey/wallhaven-ey251r.png %} -{% galleryItem https://th.wallhaven.cc/orig/6o/6oqzgq.jpg https://w.wallhaven.cc/full/6o/wallhaven-6oqzgq.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/72/72pqze.jpg https://w.wallhaven.cc/full/72/wallhaven-72pqze.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/dp/dpm5ll.jpg https://w.wallhaven.cc/full/dp/wallhaven-dpm5ll.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/y8/y8q6vl.jpg https://w.wallhaven.cc/full/y8/wallhaven-y8q6vl.jpg %} -{% galleryItem https://th.wallhaven.cc/orig/x8/x88o53.jpg https://w.wallhaven.cc/full/x8/wallhaven-x88o53.jpg %} +{% galleryItem https://img2.wallspic.com/previews/7/6/8/1/7/171867/171867-wu_kong-chao_ji_sai_ya_ren-sai_ya_ren-zamasu-long_zhu-500x.jpg %} +{% galleryItem https://img3.wallspic.com/previews/2/0/1/8/6/168102/168102-yi_shu-ka_tong-mian_bu_biao_qing-kuai_le_de-ji_qie-500x.jpg %} +{% galleryItem https://img2.wallspic.com/previews/2/6/4/3/7/173462/173462-qi_fen-zi_se_de-zi_ran_jing_guan-yu_hui-de_ping_xian-500x.jpg %} +{% galleryItem https://img2.wallspic.com/previews/3/3/9/1/3/131933/131933-mo_xing-xiao_jie-huang_se_de-nu_hai-fa_xing-500x.jpg %} +{% galleryItem https://img1.wallspic.com/previews/8/3/4/6/2/126438/126438-wei_lai_zhu_yi-shu_ma_yi_shu-jie_duan-zi_ben_shi-yi_shu-500x.jpg %} +{% galleryItem https://img2.wallspic.com/previews/0/1/5/0/7/170510/170510-guang-azure-zi_se_de-zi_ran_huan_jing-zi_ran_jing_guan-500x.jpg %} +{% galleryItem https://img2.wallspic.com/previews/3/6/9/6/5/156963/156963-yi_shu-qi_fen-yu_hui-shou_shi-ren_men_zai_zi_ran_jie-500x.jpg %} +{% galleryItem https://img1.wallspic.com/previews/0/9/3/5/6/165390/165390-qi_fen-zi_se_de-zi_ran_huan_jing-zi_ran_jing_guan-tian_wen_xue_dui_xiang-500x.jpg %} +{% galleryItem https://img3.wallspic.com/previews/2/8/6/1/7/171682/171682-yi_kuai-xing_zhi-ye_ti-yi_shu-shui_xia-500x.jpg %} +{% galleryItem https://img1.wallspic.com/previews/7/1/9/9/89917/89917-bo_xi_ta_nuo-an_zhuang_de_feng_jing-cheng_shi-suo_lun_tuo-shan_zhan-500x.jpg %} +{% galleryItem https://img1.wallspic.com/previews/6/2/3/5/6/165326/165326-pang_ke2077-pang_ke-qi_fen-xing_zhi-zi_se_de-500x.jpg %} +{% galleryItem https://img2.wallspic.com/previews/8/9/4/5/6/165498/165498-ka_tong-tao-pin_hong_se-zhang_zhang_de_tou_fa-ji_qie-500x.jpg %} +{% galleryItem https://img3.wallspic.com/previews/5/7/4/2/7/172475/172475-yi_shu-tao-tou_fa-ka_tong-500x.jpg %} +{% galleryItem https://img2.wallspic.com/previews/5/0/9/0/70905/70905-hai_yang-ma_er_dai_fu-tian_kong-du_jia_cun-huan_jiao-500x.jpg %} +{% galleryItem https://img3.wallspic.com/previews/4/3/4/8/6/168434/168434-xing_zhi-zi_ran_jing_guan-dan_huang-shui_dao-zhi_bei-500x.jpg %} +{% galleryItem https://img2.wallspic.com/previews/6/5/4/5/6/165456/165456-giy_fu_gang-e_mo_sha_shoukimetsu_no_yaiba-shan_zi_de_yi_shu-zi_se_de-dian_lan_se_de-500x.jpg %} +{% galleryItem https://img1.wallspic.com/previews/5/4/0/4/7/174045/174045-jian_ying-qi_fen-ren_men_zai_zi_ran_jie-tian_wen_xue_dui_xiang-yi_shu-500x.jpg %} +{% galleryItem https://img1.wallspic.com/previews/9/3/1/6/5/156139/156139-feng_jing_hua-yi_shu-shu_ma_yi_shu-qi_fen-sheng_tai_qu-500x.jpg %} +{% galleryItem https://img2.wallspic.com/previews/7/6/4/5/7/175467/175467-wo_de_xue_shu_jie_de_ying_xiong-tao-yi_shu-ka_tong-azure-500x.jpg %} +{% galleryItem https://img1.wallspic.com/previews/3/7/0/0/7/170073/170073-liang_ge_ling-ka_tong-shou_shi-chuang_zao_xing_de_yi_shu-hong_se_de-500x.jpg %} +{% galleryItem https://img1.wallspic.com/previews/1/8/3/6/6/166381/166381-shi_zi-xin_ba-bai_se_shi_zi-hu_xu-mao_ke-500x.jpg %} +{% galleryItem https://img3.wallspic.com/previews/4/2/2/3/7/173224/173224-ri_luo-shui_zi_yuan-qi_fen-yu_hui-zi_se_de-500x.jpg %} +{% galleryItem https://img1.wallspic.com/previews/7/5/7/9/6/169757/169757-ji_bo_li_de_bo_wu_guan-zi_ran_jing_guan-yi_shu-ji_yun-500x.jpg %} +{% galleryItem https://img1.wallspic.com/previews/5/2/0/6/7/176025/176025-qi_fen-tian_wen_xue_dui_xiang-yi_shu-dian_lan_se_de-yuan_quan-500x.jpg %} +{% galleryItem https://img3.wallspic.com/previews/6/5/8/1/4/141856/141856-hen_ku_de-hui_hua-yu_yan_jing_tou-zhai_nan-tu_xing_she_ji-500x.jpg %} +{% galleryItem https://img1.wallspic.com/previews/2/1/6/5/6/165612/165612-kimetsu_no_yaiba-e_mo_sha_shoukimetsu_no_yaiba-tao-tou_fa-wai_tao-500x.jpg %} +{% galleryItem https://img3.wallspic.com/previews/5/1/0/2/4/142015/142015-feng_ge-ka_ka_xi_qi_mu-huo_ying_ren_zhe-tu_xing_she_ji-shi_jue_yi_shu-500x.jpg %} +{% galleryItem https://img1.wallspic.com/previews/8/8/7/8/5/158788/158788-e_mo_sha_shoukimetsu_no_yaiba-shnen_man_hua-tao-ka_tong-azure-500x.jpg %} {% endgalleryGroup %}
+ + diff --git a/docs/.vitepress/assets/log.json b/docs/.vitepress/assets/log.json index 25f5c597..a787765d 100644 --- a/docs/.vitepress/assets/log.json +++ b/docs/.vitepress/assets/log.json @@ -2,6 +2,30 @@ { "large_version": "v2.1.x", "children": [ + { + "version": "2.1.11", + "date": "2024-03-14", + "logs": [ + { + "type": "feat", + "text": "添加 head、script 块配置" + }, + { + "type": "style", + "text": "样式优化" + } + ] + }, + { + "version": "2.1.10", + "date": "2023-12-14", + "logs": [ + { + "type": "style", + "text": "阅读模式滚动条区域颜色调整" + } + ] + }, { "version": "2.1.9", "date": "2023-12-11", diff --git a/docs/guide/config.md b/docs/guide/config.md index 15bcb362..d0aebe98 100644 --- a/docs/guide/config.md +++ b/docs/guide/config.md @@ -1057,6 +1057,8 @@ layout: fixed_btn: _widget/fixed-btn # 关于页面配置卡片 about_card: _widget/about-card + # 搜索卡片 v2.1.11 + + search: _widget/search # 侧栏 sidebar_user: _partial/sidebar/card/user sidebar_social: _partial/sidebar/card/social @@ -1076,6 +1078,10 @@ layout: page_links: _partial/page/links page_post: _partial/page/post page_tag: _partial/page/tag + # 其他 v2.1.11 + + script: _partial/script + head: _partial/head + ``` 用覆盖 footer 来举个例子: