Skip to content

鼓励作者:欢迎 star 或打赏犒劳

文章摘要

👁️ 预览

通常,你会将此组件与 list 组件一起使用,后者会自动从 posts 读取数据并将参数传递给此组件。但你也可以单独使用它来手动显示单个文章:

liquid
{
  include post-excerpt.html
  lookup="example-blog-post-1"
}
参数描述
lookup通过文件名(不带 YYYY-MM-DD- 日期前缀或 .md 扩展名)从 posts 中查找文章详细信息。
title / 等博客文章 中概述的参数相同。从查找中检索,或从列表组件自动传递。

如有转载或 CV 的请标注本站原文地址