Change relative paths to absolute paths in _layouts/main.html

This pull request changes the paths in _layouts/main.html from relative to absolute, allowing the layout to be used by pages that are not top level.