refine code style and add blog theme