Added blog template. New helper functions