base: add footer and header base templates

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
previews: initial release

* Adds initial infrastructure for previewing files.

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>