implemented {sitetitle} and {pagetitle} variables.