如何把历史上的post迁移到本站
THIS POST IS OUTDATED, REFER TO THE LATEST VERSION
- 添加 front matter。
- 把源 post 复制到
/_posts/
,重命名为YYYY-MM-DD-${title}.md
的格式。 I may leave title as is knowing that chineses characters are preserved in browser’s address bar and white spaces will be automatically replaced with dashes. - 如果有,把
*.assets
文件夹移到/assets/blog-images
。 - 在源 post 中给所有图片链接 prefix
/assets/blog-images
。
本文由作者按照 CC BY 4.0 进行授权