当文章中使用 front matter 定义了类别, 会在列表中添加这篇文章. 取决于 front matter 中是否定义了分类, 例如 category: classic hollywood, 或 categories: classic hollywood, 帖子就会相应地产生这样的链接 movies/horror/classic%20hollywood/2019/05/21/bride-of-chucky.html 或 movies/horror/classic/hollywood/2019/05/21/bride-of-chucky.html
文章摘要通过excerpt_separator
定义, 例如
---excerpt_separator: <!--more-->---Excerpt with multiple paragraphsHere's another paragraph in the excerpt.<!--more-->Out-of-excerpt
在列表中引用摘要
<ul>{% for post in site.posts %}<li><a href="https://www.huyubaike.com/biancheng/{{ post.url }}">{{ post.title }}</a>{{ post.excerpt }}</li>{% endfor %}</ul>
草稿草稿可以放到 _drafts 目录下
.├── _drafts│└── a-draft-post.md...
Jekyll 实例参考
- https://github.com/github/government.github.com
- https://github.com/artsy/artsy.github.io
经验总结扩展阅读
- 越南国旗为什么和中国很像
- 金字塔和埃菲尔铁塔谁高
- 龙眼和桂圆是一样的吗
- 蝴蝶衣和连体衣区别是什么?
- 蝴蝶斑和黄褐斑一样吗?
- 牛奶和可乐的化学反应
- iQOO9Pro和苹果12哪个好-iQOO9Pro和苹果12参数对比
- 小米11拍照对比小米10至尊版_小米11和小米10至尊版拍照哪个好
- 小米12X和小米10S区别-小米12X和小米10S参数对比
- iPhone13和iPhone12外观区别_iPhone13和iPhone12外观一样吗