Added a preview template

Ported over from devtools-docs repo.