static-cms
static-cms copied to clipboard
Inconsistencies in the handling of `public_folder` in image paths: Discrepancies between expectations and results
- If I use
public_folder: /foo
- Expectation?:
image: /foo/example.jpg
- Reality:
image: /foo/example.jpg
✅
- Expectation?:
- If I use
public_folder: /foo/
- Expectation?:
image: /foo/example.jpg
- Reality:
image: /foo//example.jpg
🆗 It is ok because there is the previous option
- Expectation?:
- If I use
public_folder: ''
.- Expectation?:
image: example.jpg
⬅️ I would especially like this - Reality:
image: /example.jpg
❌
- Expectation?:
- If I use
public_folder: /
- Expectation?:
image: /example.jpg
- Reality:
image: //example.jpg
❌
- Expectation?: