Skip to main content

PostFooter

Function PostFooter 

Source
pub fn PostFooter(props: PostFooterProps) -> impl IntoView
Expand description

文章页脚组件。

Props:

  • post:页脚展示所需的最小字段集(P4.2:不携带完整正文,调用方用 PostFooterData::from(&post) 构造)
  • sample:图鉴展示非跳转的样例链接;正式文章默认 false。

标签已移到页眉;没有相邻文章时不渲染。

§Required Props

§Optional Props