Update Templates.php
Merge pull request #1 from marco-a/patch-1

Fix base URL for installations in subdirectories.