From 550ab8a68d0e58442d56e607ad2b706358a83deb Mon Sep 17 00:00:00 2001 From: shenyu <448766534@qq.com> Date: Thu, 24 Feb 2022 11:21:40 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20update=20CDN?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _config.yml | 24 +- layout/_partial/after-footer.ejs | 8 +- layout/_partial/ayer.ejs | 2 +- layout/_partial/head.ejs | 7 +- layout/_partial/katex.ejs | 10 +- layout/_partial/mathjax.ejs | 3 +- layout/_partial/post/clipboard.ejs | 2 +- layout/_partial/post/gitalk.ejs | 6 +- layout/_partial/post/twikoo.ejs | 2 +- layout/_partial/post/valine.ejs | 2 +- layout/_partial/viewer.ejs | 8 +- source-src/css/_remixicon.styl | 2 +- source-src/css/style.styl | 1 - source/404.html | 2 +- source/css/fonts/remixicon.css | 1816 ++++++++++ source/css/fonts/remixicon.eot | Bin 0 -> 306324 bytes source/css/fonts/remixicon.svg | 5329 ++++++++++++++++++++++++++++ source/css/fonts/remixicon.ttf | Bin 0 -> 306152 bytes source/css/fonts/remixicon.woff | Bin 0 -> 130780 bytes source/css/fonts/remixicon.woff2 | Bin 0 -> 95372 bytes source/dist/main.css | 2 +- source/images/gitee.png | Bin 0 -> 1525 bytes source/images/github.png | Bin 0 -> 1675 bytes source/images/hexo-tag-chart.png | Bin 0 -> 1768 bytes source/images/hexo.png | Bin 0 -> 1029 bytes 25 files changed, 7184 insertions(+), 42 deletions(-) create mode 100644 source/css/fonts/remixicon.css create mode 100644 source/css/fonts/remixicon.eot create mode 100644 source/css/fonts/remixicon.svg create mode 100644 source/css/fonts/remixicon.ttf create mode 100644 source/css/fonts/remixicon.woff create mode 100644 source/css/fonts/remixicon.woff2 create mode 100644 source/images/gitee.png create mode 100644 source/images/github.png create mode 100644 source/images/hexo-tag-chart.png create mode 100644 source/images/hexo.png diff --git a/_config.yml b/_config.yml index c32d376..67d4221 100644 --- a/_config.yml +++ b/_config.yml @@ -84,9 +84,9 @@ reward_type: 2 # 打赏wording reward_wording: "请我喝杯咖啡吧~" # 支付宝二维码图片地址,跟你设置logo的方式一样。比如:/images/alipay.jpg -alipay: https://cdn.jsdelivr.net/gh/Shen-Yu/cdn/img/alipay.jpg +alipay: https://tvax4.sinaimg.cn/large/9156bd04ly1gzofeba4nlj208c08c3z9.jpg # 微信二维码图片地址 -weixin: https://cdn.jsdelivr.net/gh/Shen-Yu/cdn/img/wechat.jpg +weixin: https://tvax4.sinaimg.cn/large/9156bd04ly1gzofeo49ywj208c08cgmz.jpg # 版权声明 # 版权声明type设定:0-关闭版权声明; 1-文章对应的md文件里有copyright: true属性,才有版权声明; 2-所有文章均有版权声明 @@ -160,7 +160,7 @@ katex: # mermaid流程图 三个选项缺一不可(https://mermaid-js.github.io/mermaid/) mermaid: enable: false - cdn: https://cdn.jsdelivr.net/npm/mermaid@8.9.2/dist/mermaid.min.js + cdn: https://cdn.staticfile.org/mermaid/8.14.0/mermaid.min.js theme: forest # 网站成立年份(默认为 2019,若填入年份小于当前年份,则显示为 2018-2019 类似的格式) @@ -187,28 +187,28 @@ friends_link: img: /images/ayer.png GitHub: url: https://github.com/Shen-Yu - img: https://cdn.jsdelivr.net/gh/Shen-Yu/cdn/img/github.png + img: /images/github.png 码云: url: https://gitee.com/shen-yu - img: https://cdn.jsdelivr.net/gh/Shen-Yu/cdn/img/gitee.png + img: /images/gitee.png Hexo官网: url: https://hexo.io - img: https://cdn.jsdelivr.net/gh/Shen-Yu/cdn/img/hexo.png + img: /images/hexo.png Hexo图表插件: url: https://github.com/Shen-Yu/hexo-tag-chart - img: https://cdn.jsdelivr.net/gh/Shen-Yu/cdn/img/hexo-tag-chart.png + img: /images/hexo-tag-chart.png # 评论:1、Valine(推荐);2、Gitalk;3、Twikoo; 4.MiniValine # 1、Valine[一款快速、简洁且高效的无后端评论系统](https://github.com/xCss/Valine) # 启用Valine必须先创建leancloud应用, 获取 id|key 填入即可 leancloud: - enable: true + enable: false app_id: # app_key: # # Valine配置 valine: - enable: true # 是否启用 + enable: false # 是否启用 avatar: monsterid # 头像样式(https://valine.js.org/avatar.html) placeholder: 给我的文章加点评论吧~ # placeholder @@ -223,7 +223,7 @@ gitalk: # 3、Twikoo(https://github.com/imaegoo/twikoo) twikoo: - enable: false + enable: true envId: # # 4、MiniValine @@ -240,12 +240,12 @@ minivaline: ads: ad_1: title: 云服务器限时秒杀 - img: https://cdn.jsdelivr.net/gh/Shen-Yu/cdn/img/ten_1.jpg + img: https://tva1.sinaimg.cn/large/9156bd04ly1gzofgp4n3oj209l05kgm1.jpg url: https://curl.qcloud.com/kvO7hb43 width: 300 ad_2: title: vultr优惠vps - img: https://cdn.jsdelivr.net/gh/Shen-Yu/cdn/img/vultr.png + img: https://tvax1.sinaimg.cn/large/9156bd04ly1gzofguxegxj209l05kgn5.jpg url: https://www.vultr.com/?ref=8630075 width: 300 diff --git a/layout/_partial/after-footer.ejs b/layout/_partial/after-footer.ejs index 00367f5..9e4a12b 100644 --- a/layout/_partial/after-footer.ejs +++ b/layout/_partial/after-footer.ejs @@ -15,12 +15,12 @@ }); <% } %> - + - + <%- js('dist/main') %> <% if (theme.image_viewer){ %> <%- partial('viewer') %> <% } %> @@ -41,7 +41,7 @@ js('/js/busuanzi-2.3.pure.min') %> <% } %> <% if (theme.click_effect===1){ %> <%- js('/js/clickLove') %> <% } %> <% if (theme.click_effect===2){ %> - + <%- js('/js/clickBoom1') %> <% } %> <% if (theme.click_effect===3){ %> <%- js('/js/clickBoom2') %> <% } %> diff --git a/layout/_partial/ayer.ejs b/layout/_partial/ayer.ejs index be42ffc..4cf9402 100644 --- a/layout/_partial/ayer.ejs +++ b/layout/_partial/ayer.ejs @@ -37,7 +37,7 @@ <% } %> <% if (theme.subtitle.enable){ %> - + <% } %> diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index 0b1e2da..2735de7 100644 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -32,12 +32,9 @@ <% if (theme.favicon){ %> <% } %> <%- css('dist/main') %> - + <%- css('css/fonts/remixicon') %> <%- css('css/custom') %> <% if (theme.progressBar){ %> - + <% } %> <%- partial('google-analytics') %> <%- partial('baidu-analytics') %> <% if( theme.katex.allpost || page.math ) { %> - - - + + + <% if ( theme.katex.copy_tex ) { %> - - + + <% } %> <% } %> <% } %> \ No newline at end of file diff --git a/layout/_partial/mathjax.ejs b/layout/_partial/mathjax.ejs index 73213ef..e278b47 100644 --- a/layout/_partial/mathjax.ejs +++ b/layout/_partial/mathjax.ejs @@ -15,4 +15,5 @@ }); - \ No newline at end of file + + \ No newline at end of file diff --git a/layout/_partial/post/clipboard.ejs b/layout/_partial/post/clipboard.ejs index 6d8cd13..69d96c4 100644 --- a/layout/_partial/post/clipboard.ejs +++ b/layout/_partial/post/clipboard.ejs @@ -1,4 +1,4 @@ - + +
- + - + + + +