Port over staticpage editing functions (#96)