hexo-theme-next icon indicating copy to clipboard operation
hexo-theme-next copied to clipboard

背景图片无法更换

Open lcrazyl opened this issue 3 years ago • 2 comments

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

  1. N/A
  2. N/A
  3. N/A

Environment Information

Node.js and NPM Information


Package dependencies Information


Hexo Configuration


NexT Configuration


Other Information

lcrazyl avatar Sep 29 '21 00:09 lcrazyl

和你一样

wangyaxin1998 avatar Nov 25 '21 12:11 wangyaxin1998

蹲蹲😤

Marciaaa23 avatar Dec 07 '22 04:12 Marciaaa23