1.4.0
🍻 庆祝
我们发起了 Fluid-dev 组织 将本项目迁移其中,并且本项目的名称从 "Material-T" 更名为 "Fluid"
✨ 新功能
- 增加一个配置项
source_base_path,可配置资源文件的父级路径(适用于使用 CDN 或对象存储) - 增加一组配置项
post_meta,可配置首页一些元素的可见性 - 增加覆盖配置功能,彻底解决升级时的配置冲突
用法
进入博客根目录的 source 目录下(不是主题的 source 目录),创建_data目录,在里面创建fluid_config.yml文件,将/theme/fluid/_config.yml中被修改的配置或者全部配置,复制到fluid_config.yml中。这样fluid_config.yml中配置项会自动覆盖,并且更新主题后不会丢失。
🐛 修复
- about.md 路径引用问题
🍻 Cheers
We launched the Fluid-dev organization and transferred Material-T Into it, and "Material-T" renamed "Fluid"
✨ Feature
- Add
source_base_pathconfiguration, can replace parent path of source file (for CDN or OSS) - Add
post_metaconfiguration, can control some elements in index page - Overwrite config feature
How to use
Step 1:cd your-blog-dir/source. Step 2:mkdir _data && cd _data. Step 3:touch fluid_config.ymlStep 4: copy modified configurations or all configurations of/theme/fluid/_config.ymltofluid_config.yml. That's all,fluid_config.ymlwill automatically overwrite_config.ymlwhen hexo generate, and modified will not be lost after updating
🐛 Fix
- Fix generate about page