Added 'subs' support for referencing subpages, and added smooth scrolling to anchor locations.