Add publish task and tidy up example layout