<template name="masterLayout">
	<div class="layout master-layout {{$.Session.get 'sidebar'}}">
		{{> navbar}}
		{{#momentum plugin='iron-router' options=momentumIRTransition}}
			{{> yield }}
		{{/momentum}}
	</div>
	
	<!-- Prevent footer from popping up when route loading -->
	{{#if isRouteReady}}
	{{> footer}}
	{{/if}}

	{{> autoformModals}}
</template>