有的时候博客内容会有变动,首发博客是最新的,其他博客地址可能会未同步,认准
https://blog.zysicyj.top
安装插件
npm install hexo-include-markdown --save
创建模板目录
source/_template
创建模板
source/_template/tj.md
配置_config.yml
配置模板路径
include_markdown:
dir: source/_template # Base directory of template markdown
verbose : true # If you want to check the path of markdown that use <!-- md --> tag , please set the true.
配置不解析
skip_render:
- 'CNAME'
- '_template/**'
- 'love/static/**'
使用
这样就大工告成啦,你所看到的所有的下面的关注就是使用模板生成的哦!
本文是原创文章,采用 CC BY-NC-SA 4.0 协议,完整转载请注明来自 小朱
评论
隐私政策
0/500
滚动到此处加载评论...


