hexo-theme-next
hexo-theme-next copied to clipboard
背景图片无法更换
Please follow this Issue template to provide relevant information, such as source code repositories, blog links, and screenshots, which will help us investigate. 请按照此 Issue 模版提供相关信息,例如源码仓库、博客链接和屏幕截图,这将有助于我们进行调查。
Issue Checklist
- [x ] I am using the latest version of NexT.
- [ ] I have read the relevant documents of Hexo and NexT.
- [ ] I have reviewed the latest Roadmap on GitHub and searched for current issues, which does not help me.
Expected behavior
我在主题配置文件_config.yml中设置
custom_file_path:
style: source/_data/style.styl
并且设置根目录下的source/_data/style.styl为:
body {
background: url(https://swiftslee.oss-cn-hangzhou.aliyuncs.com/img/20210914214607.png);
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
backgound-position: 50% 50%;
}
仍然无法显示
Actual behavior
- Links to demo site with this issue: N/A
- Links to repository or source code of the blog: N/A
Steps to reproduce the behavior
- N/A
- N/A
- N/A
Environment Information
Node.js and NPM Information
Package dependencies Information
Hexo Configuration
NexT Configuration
Other Information
和你一样
蹲蹲😤