Front-matter

Front-matter
LingWindFront-matter
Front-matter 是 markdown 文件最上方以 --- 分隔的区域,用于指定个别档案的变数。其中又分为两种 markdown
- Page Front-matter 用于页面配置
- Post Front-matter 用于文章页配置
Post Front-matter文章页配置
1 | title: #【必需】文章标题 |
- 首页轮播图配置:
swiper_index, 数字越小越靠前 - 首页卡片配置:
top_group_index, 数字越小越靠前
TIP
只需要在你的文章顶部的Front-matter配置swiper_index和top_group_index两个字段即可显示轮播图和推荐卡片
Page Front-matter用于页面配置
1 | title: #【必需】页面标题 |
- page 中
top_single_background, 可配置部分页面的顶部背景图片
参考自:安知鱼主题官方文档
评论
匿名评论隐私政策








