Add base path property to view context.