mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 05:15:58 -06:00
Use humanize instead of title in archetypes
This commit is contained in:
parent
168c9d93ad
commit
ae37e587a3
@ -1,6 +1,6 @@
|
||||
---
|
||||
|
||||
title: {{ replace .Name "-" " " | title }}
|
||||
title: {{ replace .Name "-" " " | humanize }}
|
||||
date: {{ .Date | time.Format "2006-01-02" }}
|
||||
toc: true
|
||||
comments: true
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
|
||||
title: {{ replace .Name "-" " " | title }}
|
||||
title: {{ replace .Name "-" " " | humanize }}
|
||||
menu: main
|
||||
toc: true
|
||||
comments: false
|
||||
|
Loading…
Reference in New Issue
Block a user