This advanced field (see #5) could allow for the selection of a file from a list to be included in the template. The other files from the list would be ignored. The files would be loaded by the Jinja loader and therefore allow for the "includes:" prefix to be used. A license template could store several license files in the includes folder and copy the user selected file to the project.
Some options for this field could be:
value: List of filenames (["file-one.txt", "include:file-two.md", "includes:dir/file-three.py"])
filename: Rename the file to this ({% time '%Y' %}_file.txt)
This advanced field (see #5) could allow for the selection of a file from a list to be included in the template. The other files from the list would be ignored. The files would be loaded by the Jinja loader and therefore allow for the "includes:" prefix to be used. A
license
template could store several license files in theincludes
folder and copy the user selected file to the project.Some options for this field could be:
value
: List of filenames (["file-one.txt", "include:file-two.md", "includes:dir/file-three.py"]
)filename
: Rename the file to this ({% time '%Y' %}_file.txt
)