Closed LynxCatTheThird closed 1 year ago
呃,不行吗?不行我就取消了。。。
。。。
刚看到,可是。。
这。。。
config
改成自己的了
删除字体?
highlight.js
showimg.js
其实已经合并到function.js
里了。。
消失的空格
应该是先 Fork 一下,重新 clone
一份你 Fork 的仓库,然后更改
这样没有自定义的内容了(如修改的 _config.yml
和字体),再 Pull Request
Fork 后的仓库名称应该还是 hexo-theme-particlex
,不会重名
目录结构应该是这样
<root> # hexo blog folder
|---themes
| |---particlex # theme (custom)
| |---particlex-dev # theme (develop)
|---_config.yml # site config
假设一切操作都在 <root>
执行
git clone git@github.com:lynxcatthethird/hexo-theme-particlex.git themes\particlex-dev
或者不用 SSH,用 HTTPS
git clone https://github.com/lynxcatthethird/hexo-theme-particlex.git themes\particlex-dev
把 Hexo 的 _config.yml
设置主题为 particlex-dev
就可以了
这样你就可以在 particlex-dev
更改,运行 hexo s
测试
修改完就可以上传远程分支
cd themes\particlex-dev
git add .
git commit -m "something..."
git push
然后 Pull Request
过了几天,改的更多了。 麻烦等个三五天我转移一下,到时候再PR。
做出的修改:
某些地方更新不是很到位,辛苦您了