0. Hugo & Markdown

Hugo && MarkDown


1. MarkDown template

---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
lastmod: {{ .Date }}
draft: false
tags: [  ]
categories: [  ]
comment: true
---

2. Hugo command

hugo #build html havn't draft=true
hugo -D #build html and dragt=true
hugo server #Start hugo server

3. Other

Reference