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 create: Fix archetype regression when no archetype file 2017-06-22 22:00:42 +02:00
content_template_handler.go create: Provide .Name to the archetype templates 2018-01-28 19:41:55 +01:00
content_test.go create: Preserve shortcodes in archetype templates 2017-06-23 09:59:06 +02:00