Revert "Revert changes in sites template"

This reverts commit 0dbf104b9efaf4a449756e917fb000dcc503f5be.