In this example we refer to the folder name via {{cookiecutter.project}}.
Here's the contents of the cookiecutter.json file;
{
"project": "project",
"author": "author"
}
As well as the contents of the readme.md file;
# readme of {{cookiecutter.project}}
This package was made by {{cookiecutter.author}}.
Both of these files together will be picked up and rendered.