【发布时间】:2021-09-20 16:09:25
【问题描述】:
我关注tutorial 为我的博客网站添加分页。在大多数情况下,除了不再找到博客文章的所有缩略图/预览图像之外,它大部分都有效,因为路径现在是 http://myblog.com/page2/ 或第 3 页等,而我在前面的资产路径是:
---
layout: post
title: "My first blog post"
image: assets/img/post_image.png
所以我一直收到:
ERROR `/page2/assets/img/post_image.png' not found.
我该如何解决这个问题?由于没有新路径,只能正确找到网站首页上的图片。
【问题讨论】:
标签: pagination jekyll jekyll-paginator