Skip to content

图片的引用问题 #88

Answered by Lruihao
cyhstart asked this question in Q&A
Mar 24, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

文章图片可以存放在三种位置

  1. assets/ 文件夹,例如 exampleSite/content/about/index.zh-cn.md?plain=1#L25
  2. static/ 文件夹,路径相对于网站根目录
  3. 文章文件夹,路径相对于文章,例如

文章的预览图

主题文档 - 内容#前置参数 featuredImage 和 featuredImagePreview 参数使用技巧

辅助工具参考

https://lruihao.cn/posts/subl_imgpaste2/


更多关于主题内容的文档可查看 主题文档 - 内容

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@xueweiwujxw
Comment options

@Lruihao
Comment options

@xueweiwujxw
Comment options

Answer selected by Lruihao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Q&A question and answer
3 participants