Adds basic support for template fragments
Extracts navbar fragment