Replace code that shows gallery list in navbar to base.html