Skip to content

Commit

Permalink
build: 部分优化
Browse files Browse the repository at this point in the history
1. 增加hexo-all-minifier插件压缩生成文件
2. 更改部分cdn为七牛云
3. 修改了一点点文章
  • Loading branch information
camel-exvl committed Nov 4, 2023
1 parent 298a890 commit a5bc2cf
Show file tree
Hide file tree
Showing 8 changed files with 3,854 additions and 324 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
run: npm un hexo-renderer-marked --save
- name: Install hexo-renderer-markdown-it
run: npm i hexo-renderer-markdown-it --save
- name: Install hexo-all-minifier
run: npm install hexo-all-minifier --save
- name: Build
run: npm run build
- name: Deploy
Expand Down
14 changes: 7 additions & 7 deletions _config.fluid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1072,30 +1072,30 @@ static_prefix:

typed: https://lib.baomitu.com/typed.js/2.0.12/

fancybox: https://lib.baomitu.com/fancybox/3.5.7/
fancybox: https://cdn.staticfile.org/fancybox/3.5.7/

nprogress: https://lib.baomitu.com/nprogress/0.2.0/
nprogress: https://cdn.staticfile.org/nprogress/0.2.0/

mathjax: https://lib.baomitu.com/mathjax/3.2.2/
mathjax: https://cdn.staticfile.org/mathjax/3.2.2/

katex: https://lib.baomitu.com/KaTeX/0.16.2/

busuanzi: https://busuanzi.ibruce.info/busuanzi/2.3/

clipboard: https://lib.baomitu.com/clipboard.js/2.0.11/
clipboard: https://cdn.staticfile.org/clipboard.js/2.0.11/

mermaid: https://lib.baomitu.com/mermaid/8.14.0/

valine: https://lib.baomitu.com/valine/1.5.1/
valine: https://cdn.staticfile.org/valine/1.5.1/

waline: https://cdn.staticfile.org/waline/2.15.5/

gitalk: https://lib.baomitu.com/gitalk/1.8.0/
gitalk: https://cdn.staticfile.org/gitalk/1.8.0/

disqusjs: https://lib.baomitu.com/disqusjs/1.3.0/

twikoo: https://lib.baomitu.com/twikoo/1.6.8/

discuss: https://lib.baomitu.com/discuss/1.2.1/

hint: https://lib.baomitu.com/hint.css/2.7.0/
hint: https://cdn.staticfile.org/hint.css/2.7.0/
5 changes: 4 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,7 @@ markdown:
lazyload: true
prepend_root: true
post_asset: true
inline: false # https://markdown-it.github.io/markdown-it/#MarkdownIt.renderInline
inline: false # https://markdown-it.github.io/markdown-it/#MarkdownIt.renderInline

# hexo-all-minifier
all_minifier: true
Loading

0 comments on commit a5bc2cf

Please sign in to comment.