write data-sw-source in to detail page markup