Fixed relative paths in templates