在正式开始markdown之前,加的一段设置
https://gohugo.io/content-management/front-matter/
YAML
identified by opening and closing ---.
官方介绍:
Front Matter | Jekyll • Simple, blog-aware, static sites https://jekyllrb.com/docs/front-matter/
https://github.com/Huxpro/huxpro.github.io
Feel free to checkout Markdown files in the _posts/, you will quickly realized how to post your articles with magical markdown plus this nice theme.
The front-matter of a post looks like that:
---
layout: post
title: "Hello 2015"
subtitle: "Hello World, Hello Blog"
date: 2015-01-29 12:00:00
author: "Hux"
header-img: "img/post-bg-2015.jpg"
tags:
- Life
---