2023-03-01 - Last updated on 2023-03-02
Sample post
Posts have front matter. Front matter written in YAML.
The front matter for this post is as follows.
---
title: Sample post
tags: [sample, yaml, t, tag, this-is-extreme-long-tag-name]
date: 2023-03-02
---
title
is post title. render as h1tags
is list of tag. Tags page generation based on the content of thetags
date
is update date. optional field. it overrides publication date.Define publication date of a post in the title of the Markdown file
ex)
blog-fable/contents/posts/2023-02-01-this-is-sample-post.md
Use eemeli/yaml: YAML parser and stringifier for JavaScript for front matter parsing.
You can define a post without front matter if you want.