I have a site that I created in dreamweaver cc 2015 than uses a template .dwt. I want to add a wordrotator. https://github.com/andreapace/wordsrotator
so you can open the DWT file in dreamweaver and think its same like a HTML
they will be reflected in the page when you use the template file.
in your question you just say I am using a dwt file... but I cannot guess its code so cant help on where exactly you have to make changes.
hope this helps.