added page-attributes support

fixes #13