Initial attempt at fixing #12
Use passed in page_variant (pageVariant property currently not properly initialized)
Merge pull request #13 from frega/bugfix-12

Fixes #12