add some function to blog detail