added local link support for linking directly to pages