TranslationBaseName replaced for Name on archetypes template

This commit is contained in:
nonumeros 2018-05-27 13:29:39 -04:00
parent 59c4cbf186
commit 60dd68fc94
4 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
+++ +++
title = "{{ replace .TranslationBaseName "-" " " | title }}" title = "{{ replace .Name "-" " " | title }}"
date = {{ .Date }} date = {{ .Date }}
weight = 5 weight = 5
chapter = true chapter = true

View file

@ -1,5 +1,5 @@
+++ +++
title = "{{ replace .TranslationBaseName "-" " " | title }}" title = "{{ replace .Name "-" " " | title }}"
date = {{ .Date }} date = {{ .Date }}
weight = 5 weight = 5
+++ +++

View file

@ -19,7 +19,7 @@ It will create a page with predefined Front-Matter:
```markdown ```markdown
+++ +++
title = "{{ replace .TranslationBaseName "-" " " | title }}" title = "{{ replace .Name "-" " " | title }}"
date = {{ .Date }} date = {{ .Date }}
weight = 5 weight = 5
chapter = true chapter = true
@ -48,7 +48,7 @@ It will create a page with predefined Front-Matter:
```markdown ```markdown
+++ +++
title = "{{ replace .TranslationBaseName "-" " " | title }}" title = "{{ replace .Name "-" " " | title }}"
date = {{ .Date }} date = {{ .Date }}
weight = 5 weight = 5
+++ +++

View file

@ -19,7 +19,7 @@ Cela crééra une page avec le Front Matter suivant:
```markdown ```markdown
+++ +++
title = "{{ replace .TranslationBaseName "-" " " | title }}" title = "{{ replace .Name "-" " " | title }}"
date = {{ .Date }} date = {{ .Date }}
weight = 5 weight = 5
chapter = true chapter = true
@ -48,7 +48,7 @@ Cela crééra une page avec le Front Matter suivant:
```markdown ```markdown
+++ +++
title = "{{ replace .TranslationBaseName "-" " " | title }}" title = "{{ replace .Name "-" " " | title }}"
date = {{ .Date }} date = {{ .Date }}
weight = 5 weight = 5
+++ +++