updated old posts
added caption class
edited pagination