summaryrefslogtreecommitdiffstats
path: root/resource
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-01-28 19:38:10 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-01-28 19:41:55 +0100
commit863a812e07193541b42732b0e227f3d320433f01 (patch)
tree45ee62687266d914a5b507bca552815db6411e4f /resource
parentf08ea02d24d42929676756950f3affaca7fd8c01 (diff)
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
Diffstat (limited to 'resource')
0 files changed, 0 insertions, 0 deletions