better templates and make sure to write to correct branch
Use branch name, not toString() result of branch object and properly format filename with dash in between date and name and markdown extension