如何在Jekyll中仅显示第一段或定义摘录

如何在Jekyll中仅显示第一段或定义摘录,jekyll,Jekyll,我已经准备好了这篇文章 --- layout: post tags: - tag1 title: Post Title 1 categories: - category1 --- Excerpt for post 1 <!-- More --> Body of post 1 但页面上仍然显示摘录和正文。我看到了区别: <!-- More --> != <!-- more --> != 这个怎么样 {{post.content | strip|

我已经准备好了这篇文章

---
layout: post
tags:
- tag1
title: Post Title 1
categories:
- category1
---

Excerpt for post 1    

<!-- More -->

Body of post 1
但页面上仍然显示摘录和正文。

我看到了区别:

<!-- More --> != <!-- more -->
!=
这个怎么样


{{post.content | strip|html | truncatewords:50}}

我想我的额头上有一道伤痕,因为我的头撞得这么重谢谢
<!-- More --> != <!-- more -->