added time and tag archives
added sidebar to view_post view
limit popular posts to 5
dict.update() is faster than dict.items+dict.items