Use humanize instead of title in archetypes

This commit is contained in:
BBaoVanC 2021-10-29 01:11:16 -05:00
parent 168c9d93ad
commit ae37e587a3
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
---
title: {{ replace .Name "-" " " | title }}
title: {{ replace .Name "-" " " | humanize }}
date: {{ .Date | time.Format "2006-01-02" }}
toc: true
comments: true

View File

@ -1,6 +1,6 @@
---
title: {{ replace .Name "-" " " | title }}
title: {{ replace .Name "-" " " | humanize }}
menu: main
toc: true
comments: false