Allow live templating to work at the start and end of files.