Facilite la création d'un billet
Préformattage; ajout des mois en français
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
||||
@@ -4,7 +4,6 @@ title = "Les pieds dans le code"
|
||||
theme = "davis"
|
||||
DefaultContentLanguage = "fr"
|
||||
disableKinds = ["sitemap"]
|
||||
markup = "markdown"
|
||||
|
||||
[outputFormats]
|
||||
[outputFormats.RSS]
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
+++
|
||||
+++
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
title: "Journal du {{ dateFormat "2" .Date }} {{ index $.Site.Data.mois (printf "%s" (dateFormat "1" .Date)) }} {{ dateFormat "2006" .Date }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
"1": "Janvier"
|
||||
"2": "Février"
|
||||
"3": "Mars"
|
||||
"4": "Avril"
|
||||
"5": "Mai"
|
||||
"6": "Juin"
|
||||
"7": "Juillet"
|
||||
"8": "Août"
|
||||
"9": "Septembre"
|
||||
"10": "Octobre"
|
||||
"11": "Novembre"
|
||||
"12": "Décembre"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user