-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a blog post about event in xi'an #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 可以运行
pnpm fmt
来对代码进行格式化~ - 可以将每篇 blog 放在同一个目录中,避免将来不好管理,比如本篇统一放在
src/public/images/xian-event/
下~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
放到子目录下的话,还需要在index.md里加index吗?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以将每篇 blog 放在同一个目录中
啊 刚刚表述不太清楚:joy:,是每篇 blog 的图片放在同一个目录中,博客统一直接放在 posts 下
路径也写错了,应该是 src/public/images/xian-event/
比如第一张图片在 src/public/images/xian-event/xian-event-01.jpg
引入时使用:
![xian-event-01](../public/images/xian-event/xian-event-01.jpg)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好,明白了
@SigureMo 图片路径好像还是有点问题: Could not resolve "./../public/images/xian-event/xian-event-01.jpg" from "src/posts/xian-event.md" |
我来调整下~ |
No description provided.