I have an even better solution than hard-coding the name in the template. I've changed my templates to take advantage of a "template property" that I added.This lets me easily use the same template for different references.
I went through these steps:
1. Created a new template property. Opened the template editor and selected the Tools > Configuration > Templates > MyCustomTemplate > Edit > Properties. I added a new property to this list. (Don't create an element called DocumentTitle. That name is already used by Document!X.)
2. Added this expression to the custom template:
<!--DXMETADATA start type="Variable" Name="MyDocumentTitle" Format="%%variable%%" BlankFormat="%%variable%%" --> <!--DXMETADATA end -->
Any time I create a new project, I customize the document title by accessing the Template Properties window (from the project window).