Jekyll 网站未在 github 上显示图像
Jekyll website npot displaying images on github
我有一个简单的 Jekyll 网站。它在本地服务器上的网页中显示图像,但在 github
上加载站点时它们不会出现
例如在页面 post01.md 我有代码

这是我的树
.
├── 404.html
├── about.markdown
├── _config.yml
├── Gemfile
├── Gemfile.lock
├── index.md
├── _posts
├── _site
│ ├── 404.html
│ ├── about
│ │ └── index.html
│ ├── assets
│ │ ├── main.css
│ │ ├── main.css.map
│ │ └── minima-social-icons.svg
│ ├── feed.xml
│ ├── index.html
│ └── wx_python
│ ├── images
│ │ ├── raw_frame.png
│ ├── introduction.html
│ ├── post01.html
│ ├── post02.html
│ ├── post03.html
│ ├── post04.html
│ ├── snippets
│ │ ├── basic_frame.py
│ │ ├── basic_panel.py
│ └── wxpython_from_scratch.html
└── wx_python
├── images
│ ├── raw_frame.png
├── introduction.md
├── post01.md
├── post02.md
├── snippets
│ ├── basic_frame.py
│ ├── basic_panel.py
└── wxpython_from_scratch.md
我该如何解决这个问题?
问题是我没有给 Jeckyll baseurl。显示图像的代码应该是

查看 answer here(这似乎是一个对 Jekyll 响应更快的论坛)
我有一个简单的 Jekyll 网站。它在本地服务器上的网页中显示图像,但在 github
上加载站点时它们不会出现例如在页面 post01.md 我有代码

这是我的树
.
├── 404.html
├── about.markdown
├── _config.yml
├── Gemfile
├── Gemfile.lock
├── index.md
├── _posts
├── _site
│ ├── 404.html
│ ├── about
│ │ └── index.html
│ ├── assets
│ │ ├── main.css
│ │ ├── main.css.map
│ │ └── minima-social-icons.svg
│ ├── feed.xml
│ ├── index.html
│ └── wx_python
│ ├── images
│ │ ├── raw_frame.png
│ ├── introduction.html
│ ├── post01.html
│ ├── post02.html
│ ├── post03.html
│ ├── post04.html
│ ├── snippets
│ │ ├── basic_frame.py
│ │ ├── basic_panel.py
│ └── wxpython_from_scratch.html
└── wx_python
├── images
│ ├── raw_frame.png
├── introduction.md
├── post01.md
├── post02.md
├── snippets
│ ├── basic_frame.py
│ ├── basic_panel.py
└── wxpython_from_scratch.md
我该如何解决这个问题?
问题是我没有给 Jeckyll baseurl。显示图像的代码应该是

查看 answer here(这似乎是一个对 Jekyll 响应更快的论坛)