Add id to archetype
This commit is contained in:
@@ -3,6 +3,7 @@ categories = []
|
|||||||
date = "{{ .Date }}"
|
date = "{{ .Date }}"
|
||||||
description = ""
|
description = ""
|
||||||
draft = true
|
draft = true
|
||||||
|
id = "{{ print .File.Path now.UnixNano | sha1 }}"
|
||||||
link = ""
|
link = ""
|
||||||
tags = []
|
tags = []
|
||||||
title = "{{ replace .Name "-" " " | title }}"
|
title = "{{ replace .Name "-" " " | title }}"
|
||||||
|
Reference in New Issue
Block a user