mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-07-28 04:41:35 -05:00
Use humanize instead of title in archetypes
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user