Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

skip_render not working in post_asset_folder #5211

Closed
5 tasks done
2-3-5-7 opened this issue May 19, 2023 · 0 comments · Fixed by #5258
Closed
5 tasks done

skip_render not working in post_asset_folder #5211

2-3-5-7 opened this issue May 19, 2023 · 0 comments · Fixed by #5258

Comments

@2-3-5-7
Copy link

2-3-5-7 commented May 19, 2023

Check List

Please check followings before submitting a new issue.

Expected behavior

Actual behavior

How to reproduce?

  • set post_asset_folder: true in _config.yml
  • create hello.md in _posts, create test.yml in _posts/hello dir (hello is asset folder)
  • set _config.yml
    skip_render:
       - '**.yml'
  • hexo g
  • test.yml became public\hello\test.json

Is the problem still there under "Safe mode"?

no, safe mode didn't generate any page

Environment & Settings

Node.js & npm version(node -v && npm -v)

v18.15.0
9.5.0

Your site _config.yml (Optional)

Hexo and Plugin version(npm ls --depth 0)

$ npm ls --depth 0
hexo-site@0.0.0 D:\soft\hexo\blog
├── hexo-generator-archive@2.0.0
├── hexo-generator-category@2.0.0
├── hexo-generator-index@3.0.0
├── hexo-generator-tag@2.0.0
├── hexo-mermaid-lastest@1.0.0
├── hexo-relative-link@3.0.3
├── hexo-renderer-ejs@2.0.0
├── hexo-renderer-marked@6.0.0
├── hexo-renderer-stylus@2.1.0
├── hexo-replace-title-with-filename@1.0.0
├── hexo-server@3.0.0
├── hexo-theme-icarus@5.2.1
├── hexo-theme-landscape@1.0.0
└── hexo@6.3.0

Your package.json package.json

{
  "name": "hexo-site",
  "version": "0.0.0",
  "private": true,
  "scripts": {
    "build": "hexo generate",
    "clean": "hexo clean",
    "deploy": "hexo deploy",
    "server": "hexo server"
  },
  "hexo": {
    "version": "6.3.0"
  },
  "dependencies": {
    "hexo": "^6.3.0",
    "hexo-generator-archive": "^2.0.0",
    "hexo-generator-category": "^2.0.0",
    "hexo-generator-index": "^3.0.0",
    "hexo-generator-tag": "^2.0.0",
    "hexo-mermaid-lastest": "^1.0.0",
    "hexo-relative-link": "^3.0.3",
    "hexo-renderer-ejs": "^2.0.0",
    "hexo-renderer-marked": "^6.0.0",
    "hexo-renderer-stylus": "^2.1.0",
    "hexo-replace-title-with-filename": "^1.0.0",
    "hexo-server": "^3.0.0",
    "hexo-theme-icarus": "^5.2.1",
    "hexo-theme-landscape": "^1.0.0"
  }
}

Others

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

Successfully merging a pull request may close this issue.

2 participants