Replies: 1 comment 1 reply
-
In HTML files, the / symbol represents the "root directory". In docsify, see #1891. I chose to use the cdn address directly in the quote. https://github.com/lufei/notes/blob/master/docs/images/hyperf/hyperf-1.png
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
I want to use a specific GitHub Repository to deploy a static webpage (as I've already used xxx.github.io). I use docsify to deploy it. This is my related repo(https://github.com/djl777/note), and this is my website(https://djl777.github.io/note/#/) generated.
When I upload my folder, I find some trouble: my avg and font are not changed, the relative code is in https://github.com/djl777/note/blob/master/index.html:
So I change them to:
and it does works, but does not work in my local port becauses of the ‘note’, so this is not a good idea.
I want to know why the root directory is xxx.github.io instead of xxx.github.io/note, and how to change it.
supplement(another problem)
Today I find another problem in https://github.com/djl777/note/blob/master/README.md.
You could see my homepage that the test1(/static/image/avator.jpg) is ok but not test2(/note/static/image/avator.jpg), this disproves my previous conjecture about absolute paths, and I'm very confused as to why
index.html
behaves differently thanREADME.md
. Is this not a github page issue but something to do with docify?Besides, my setting is:
Beta Was this translation helpful? Give feedback.
All reactions