Fixed the bugs in static_pages_controller to work properly
Changed @opentick to @openTick in the footer to stay consistent with the other variables