阅读约 1 分钟
121 字
搭建 hexo 博客很长时间了。今天总结了一下常用的 hexo 博客插件,希望对大家有用
npm 插件安装
视频
1
2
|
npm install dplayer --save
npm install hexo-tag-dplayer
|
如何使用:
1
|
{% dplayer "url=http://home.ustc.edu.cn/~mmmwhy/GEM.mp4" "pic=http://home.ustc.edu.cn/~mmmwhy/GEM.jpg" "loop=yes" "theme=#FADFA3" "autoplay=false" "token=tokendemo" %}
|
音乐
1
2
|
npm install aplayer --save
npm install hexo-tag-aplayer
|
如何使用:
1
|
{% aplayer "HUSH" "Lasse Lindh" "http://opj0cbfmf.bkt.clouddn.com/Part.3%20Lasse%20Lindh%20-%20Hush.mp3" "http://opj0cbfmf.bkt.clouddn.com/hush.jpg" "autoplay=false" %}
|
推送
1
|
npm install hexo-deployer-git --save
|
站点地图
1
2
|
npm install hexo-generator-sitemap --save
npm install hexo-generator-baidu-sitemap --save
|
gulp 压缩
1
2
3
4
5
6
|
npm install --global gulp-cli
npm install --save-dev gulp
npm i gulp gulp-clean-css gulp-htmlclean gulp-htmlmin gulp-imagemin gulp-uglify -S
npm install --save-dev gulp del
npm install --save-dev run-sequence
npm install gulp-minify-css --save-dev
|
站内搜索
1
|
npm install hexo-generator-search --save
|
百度主动提交
1
|
npm install hexo-baidu-url-submit --save
|
卸载
除特殊声明外,本博客一律使用以下协议进行授权 「
署名 - 非商业性使用 - 禁止演绎 4.0
」
下一篇