Set posts template in Hugo project

Page content

Tips - Change the template which generated by hugo new

You can define a template in the file archetypes/default.md.

Here is my sample.

---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
categories:
    - "Draft"
tags:
    - "dummy_tag"
isCKJLanguage: false
mathjax: false
comments: false
draft: true
---