You’ll find this post in your _posts
directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve
, which launches a web server and auto-regenerates your site when a file is updated.
Jekyll中一篇文章就是一个文件,所有需要发布的文章都要放在_posts文件夹内。Jekyll对于文章的文件名也是有要求的,系统会根据文件名来生成每篇文章的链接地址。具体的格式为:YYYY-MM-DD-文章标题.markdown 其中YYYY为4位年份,MM是两位的月份,DD是两位的日期。