-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Labels
wontfixThis will not be worked onThis will not be worked on
Description
Checklist
- I have read and accepted the contributing guidelines.
How did you create the site?
Generated from chirpy-starter
Describe the bug
file: _includes/media-url.html
line number: 18
code snippet:
{% assign url = include.subpath | default: '' | append: '/' | append: url %}issue: if include.subpath is nil or empty string, and url is a relative path, e.g. path/to/file , the code will force overwrite url to absolute path /path/to/file , which will leads image url error to plugins like jekyll-postfiles.
Steps To Reproduce
see Describe the bug
Expected Behavior
don't try to force overwrite user's path type(absolute or relative).
Environment
- Ruby: ruby 3.3.7 (2025-01-15 revision be31f993d7) [x86_64-linux-gnu]
- Jekyll: jekyll 4.4.1
- Chirpy: jekyll-theme-chirpy (7.3.1)
Anything else?
No response
Metadata
Metadata
Assignees
Labels
wontfixThis will not be worked onThis will not be worked on