文档头部配置 - sofastack/sofastack.tech GitHub Wiki
Front matter 是指 /content/
目录下的 Markdown 文件头部的配置信息。
项目列表配置
比普通文档增加了 weight 和 stage 字段。
title: "SOFARPC"
description: "SOFAStack projects"
github: "https://github.com/sofastack/sofa-rpc"
weight: 1
level: main|incubating
指南配置
在 guides/_index.md
中配置guide 的层级和顺序。
levels:
- level: "SOFAStack Cloud Native Workshop"
links:
- link: "sofastack-quick-start"
- link: "kc-seata-demo"
在单篇 guide 中配置以下内容:
title: "Seata 分布式事务实践"
description: "该指南将向您展示如何使用开源分布式事务框架 Seata 的 AT 模式、TCC 模式解决业务数据的最终一致性问题。"
github: "https://github.com/sofastack/kc-seata-demo"
projects: [{name: "SOFABoot", link: "https://github.com/sofastack/sofa-boot"}, {name: "SOFARPC",link:"https://github.com/sofastack/sofa-rpc"}]
博客配置
title: "SOFARPC"
author: "SOFAStack"
authorlink: "https://www.sofastack.tech"
description: "SOFAStack projects"
weight: 1
categories: "SOFARPC"
tags: ["",""]
date: "2017-03-08T20:40:08+08:00"
aliases: "/posts/xxx"
cover: ""
默认会在 blog 首页的每篇文档介绍中显示 Description 的内容。 cover 图片尺寸不低于 800 × 600
活动配置
title: "SOFARPC"
author: "SOFAStack"
authorlink: "https://www.sofastack.tech"
description: "SOFAStack projects"
weight: 1
tags: ["",""]
date: "2017-03-08T20:40:08+08:00"
cover: ""