We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在_config-ayer.yml中会指定如alipay.img的文件路径;如果我想更换这个路径,我只能去node_modules里的img文件夹改。但是.gitignore会把node_modules里的文件忽略掉,这意味着我无法在远程仓库记录我的更改。我希望有一种方式能让我在远程仓库同步对如alipay.img的更改
# 打赏 # 打赏type设定:0-关闭打赏; 1-文章对应的md文件里有reward:true属性,才有打赏; 2-所有文章均有打赏 reward_type: 2 # 打赏wording reward_wording: "请我喝杯咖啡吧~" # 支付宝二维码图片地址,跟你设置logo的方式一样。比如:/images/alipay.jpg alipay: /images/alipay.jpg # 微信二维码图片地址 weixin: /images/wechat.jpg
如上,/images/alipay.jpg定位在node_modules里面,这是我不愿看到的,我希望能在根目录对他重定义,但我不知道如何实现,请为我解惑。
The text was updated successfully, but these errors were encountered:
Thanks for opening this issue, maintainers will get back to you as soon as possible!
Sorry, something went wrong.
目前我找到一个方法是把项目文件夹整个复制到src/theme文件夹里,然后更名为ayer,这样就可以防止因为node_modules而被git忽略,但这也意味着没必要使用npm i hexo-theme-ayer
npm i hexo-theme-ayer
No branches or pull requests
Expected behavior
在_config-ayer.yml中会指定如alipay.img的文件路径;如果我想更换这个路径,我只能去node_modules里的img文件夹改。但是.gitignore会把node_modules里的文件忽略掉,这意味着我无法在远程仓库记录我的更改。我希望有一种方式能让我在远程仓库同步对如alipay.img的更改
如上,/images/alipay.jpg定位在node_modules里面,这是我不愿看到的,我希望能在根目录对他重定义,但我不知道如何实现,请为我解惑。
The text was updated successfully, but these errors were encountered: