What's Jekyll?
什么是 Jekyll?
Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:
Jekyll 是一个静态网站生成器,是一个用于创建各种形状和大小的简单而强大的网站的开源工具。摘自项目自述:
Markup: Syntax Highlighting
标记:语法高亮
Post displaying the various ways one can highlight code blocks with Jekyll. Some options include standard Markdown, GitHub Flavored Markdown, and Jekyll's `{% highlight %}` tag.此帖子展示了使用 Jekyll 高亮代码块的各种方法。其中包括标准 Markdown、GFM(GitHub Flavored Markdown) 和 Jekyll 的 `{% highlight %}` 标签。 More …
Layout: Excerpt (Defined)
布局:摘要(自定义)
This is a user-defined post excerpt. It should be displayed in place of the auto-generated excerpt or post content on index pages.这是用户自定义的帖子摘录。在索引页面上显示,它会代替自动生成的摘录或帖子内容。 More …
Layout: Excerpt (Generated with Separator Tag)
布局:摘要(基于分隔字符串自动生成)
This is the post content. Archive-index pages should display an auto-generated excerpt of all the content preceding the excerpt_separator
, as defined in the YAML Front Matter or globally in _config.yml
.
这是帖子中的内容。存档索引页面会按照 YAML 前言(Front Matter) 或 _config.yml
中的全局定义,显示参数 excerpt_separator
指定的分隔字符串前面的所有内容作为[自动生成摘录],有关详细信息可参考链接。
Be sure to test the formatting of the auto-generated excerpt, to ensure that it doesn’t create any layout problems.
请务必测试自动生成摘录的格式,确保不会产生任何布局问题。