mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 04:13:17 -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" }}
|
date: {{ .Date | time.Format "2006-01-02" }}
|
||||||
toc: true
|
toc: true
|
||||||
comments: true
|
comments: true
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
title: {{ replace .Name "-" " " | title }}
|
title: {{ replace .Name "-" " " | humanize }}
|
||||||
menu: main
|
menu: main
|
||||||
toc: true
|
toc: true
|
||||||
comments: false
|
comments: false
|
||||||
|
Loading…
Reference in New Issue
Block a user