Skip to content
Permalink
Browse files

TranslationBaseName replaced for Name on archetypes template

  • Loading branch information
nonumeros committed May 27, 2018
1 parent 59c4cbf commit 60dd68fc9439b587c2c477bc936adcb94154a895
@@ -1,5 +1,5 @@
+++
title = "{{ replace .TranslationBaseName "-" " " | title }}"
title = "{{ replace .Name "-" " " | title }}"
date = {{ .Date }}
weight = 5
chapter = true
@@ -1,5 +1,5 @@
+++
title = "{{ replace .TranslationBaseName "-" " " | title }}"
title = "{{ replace .Name "-" " " | title }}"
date = {{ .Date }}
weight = 5
+++
@@ -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
+++
@@ -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
+++

0 comments on commit 60dd68f

Please sign in to comment.
You can’t perform that action at this time.