Merge pull request #145 from nonumeros/master

TranslationBaseName replaced for Name on archetypes template
This commit is contained in:
Mathieu Cornic 2018-08-10 10:41:45 +02:00 committed by GitHub
commit d34944e827
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 }}
weight = 5
chapter = true

View file

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

View file

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

View file

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