Jekyll网站npot在github上显示图片



我有一个简单的Jekyll网站。它在本地服务器上的网页中显示图像,但当网站加载到github 上时,它们不会出现

例如,在post01.md页面中,我有代码

![](/wx_python/images/raw_frame.png)

这是我的树

.
├── 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

我该如何解决这个问题?

问题是我没有给Jeckyllbaseurl。显示图像的代码应为

![]({{ site.baseurl }}/wx_python/images/raw_frame.png)

看看这里的答案(这似乎是一个对杰基尔反应更积极的论坛,所以(

最新更新