Skip to content

Make entry_title_template load from a file in the src/scriv/templates directory #94

@DonalChilde

Description

@DonalChilde

It would be handy to have the entry title template load from a file like the new_fragment templates do. This would provide an easily found example of the template in the src/scriv/templates directory, making it easier for new users to find and customize the template. Right now, you have to search the source code for the template string. That is not exactly hard, but took me a few minutes :) .

Alternately, a doc example of a custom title template file, with the necessary .toml entry, would serve the same purpose. It became obvious after finding the code, but I did not find the possible values passed to the template (version and date) listed in the docs. This could be a RTFM error on my part.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions