added sidebar rendering based on page into each template