mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
TranslationBaseName replaced for Name on archetypes template
This commit is contained in:
parent
59c4cbf186
commit
60dd68fc94
4 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
||||||
+++
|
+++
|
||||||
title = "{{ replace .TranslationBaseName "-" " " | title }}"
|
title = "{{ replace .Name "-" " " | title }}"
|
||||||
date = {{ .Date }}
|
date = {{ .Date }}
|
||||||
weight = 5
|
weight = 5
|
||||||
chapter = true
|
chapter = true
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
+++
|
+++
|
||||||
title = "{{ replace .TranslationBaseName "-" " " | title }}"
|
title = "{{ replace .Name "-" " " | title }}"
|
||||||
date = {{ .Date }}
|
date = {{ .Date }}
|
||||||
weight = 5
|
weight = 5
|
||||||
+++
|
+++
|
||||||
|
|
|
@ -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
|
||||||
+++
|
+++
|
||||||
|
|
|
@ -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
|
||||||
+++
|
+++
|
||||||
|
|
Loading…
Reference in a new issue