Skip to content
New issue

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

背景图片无法更换 #1674

Open
2 tasks
lcrazyl opened this issue Sep 29, 2021 · 2 comments
Open
2 tasks

背景图片无法更换 #1674

lcrazyl opened this issue Sep 29, 2021 · 2 comments

Comments

@lcrazyl
Copy link

lcrazyl commented Sep 29, 2021

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

@wangyaxin1998
Copy link

和你一样

@Marciaaa23
Copy link

蹲蹲😤

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants