<div class="container" style="padding:0;">
	<div class="">

		<div class="row justify-content-center">
			<div class="col-sm-10 col-12" style="padding: 0 27px 0 28px;">
				<a href="#menu" class="menu-trigger"><i class="fa fa-bars"></i> Menu</a>
			</div>
		</div>

		<nav id="navigation">
			<ul class="menu" id="responsive">

				<li><a href="/" class="current homepage" id="current">Hjem</a></li>

				<{assign var="menu" value=$webshop->getMenuByLocation('top')}>
				<{if $menu}>

					<{assign var="items" value=$menu->getItems()}>
					<{section name="i" loop=$items}>
						<li class="dropdown">
							<{if $items[i]->getType() == "menu"}>
								<{assign var="subitems" value=$items[i]->getItems()}>
								<a href="#"><{$items[i]->getTitel()|escape}></a>
								<ul>
									<{section name="j" loop=$subitems}>
										<li class="dropdown <{$subitems[j]->getClass()|escape}>"><a href="<{$subitems[j]->getUrl()|escape}>"><{$subitems[j]->getTitel()|escape}></a></li>
									<{/section}>
								</ul>
							<{else}>
								<li class="dropdown <{$items[i]->getClass()|escape}>"><a href="<{$items[i]->getUrl()|escape}>" title="<{$items[i]->getTitel()|escape}>"><{$items[i]->getTitel()|escape}></a></li>
							<{/if}>
						</li>
					<{/section}>

				<{else}>
					<{assign var="categories" value=$webshop->getCategories()|array_slice:0:5}>

					<{foreach $categories as $cat}>
						<{if $cat->getInMenu()}>
							<li class="dropdown">
								<a href="<{$cat->getUrl()|escape}>"><{$cat->getName()|escape}></a>
								<{include file="category_section.html" categories=$cat->getChildren()}>
							</li>
						<{/if}>
					<{/foreach}>

					<{assign var="blog_posts" value=$webshop->getBlogPosts(1, 0)}>
					<{if $blog_posts}>
						<li><a href="/blog">Blog</a></li>
					<{/if}>

				<{/if}>

			</ul>

		</nav>
	</div>
</div>