1. Briefly
Is it possible to create relative link to file in my site, which is not in content
folder?
2. Detail
Condensed structure of my folder tree:
content
— folder with my Markdown pages;output
— folder with my converted Markdown → HTML pages;themes
— folder with files of my themesashapelican
.
D:\Kristinita.bitbucket.io
├───content
│ └───pages
│ └───Sublime Text
│ Example.md
├───output
│ ├───Sublime Text
| Example.html
├───themes
│ └───sashapelican
│ ├───statica
│ │ ├───images
│ │ │ ├───other_images
│ │ │ clippy.svg
│ └───templates
└───__pycache__
Full source of my test site — https://bitbucket.org/Kristinita/kristinita.bitbucket.org/src.
I want to create relative link in my Example.md
file to clippy.svg
file. Is it possible?
3. Did not help
{{SITEURL}}/themes/sashapelican/statica/images/other_images/clippy.svg
not worked for me.- I read documentation, but I can find solution only if file
clippy.svg
is situated incontent
folder. - Like in this answer
[Clippy]({filename}/../themes/sashapelican/statica/images/other_images/clippy.svg)
and[Clippy]({filename}/themes/sashapelican/statica/images/other_images/clippy.svg)
also not worked for me. - I don't find solution of my problem in description of autostatic plugin.
4. Do not offer
- Yes, I understand, that I can add my
statica
folder toSTATIC_PATHS
variable →STATIC_PATHS = ['statica']
in mypelicanconf.py
file. But all files intostatica
folder will be copied tooutput
folder. All files in mystatica
folder is static, I don't want exact duplicates in my site. I will use this method only if we don't have another solutions. Please, do not offer it.