hugo/create
Bjørn Erik Pedersen 863a812e07
create: Provide .Name to the archetype templates
This value will have a better suited value to base the titles on in your archetype templates when creating bundle ´index.md` type of files.

The internal template is updates, but you will have to update any custom archetype template to use the new `.Name` variable:

```bash
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---
```

Fixes #4348
2018-01-28 19:41:55 +01:00
..
content.go
content_template_handler.go create: Provide .Name to the archetype templates 2018-01-28 19:41:55 +01:00
content_test.go