{% from 'macro.html' import genurl with context %}
{% set link = ['/',link]|join %}
<!DOCTYPE html>
<html lang="{{ DEFAULT_LANG }}">
	<head>
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
		<meta name="description" content="{{ SITENAME }}">
		<meta name="author" content="{{ AUTHOR }}">
		{% if FAVICON and FAVICON_TYPE %}
			<link rel="icon" type="image/{{ FAVICON_TYPE }}" href="{{ genurl( FAVICON ) }}">
		{% endif %}

		{% from 'macro.html' import pagetitle with context %}
		{{ pagetitle(name) }}

		<link rel="stylesheet" href="{{ genurl( '/theme/css/main.css' ) }}">

		{% if output_file == 'sprechstunden.html '%}
			<link rel="stylesheet" href="{{ genurl( '/theme/css/sprechstunden.css' ) }}">
		{% endif %}
	</head>
	<body>
		<div class="container" id="wrap">
			{% from 'macro.html' import navbar with context %}
			{{ navbar(link) }}
				<div>
					{% block left_sidebar %}{% endblock %}
				</div>

				<div>
					<!-- <div class="row">
						{% from 'macro.html' import pageheader with context %}
						{{ pageheader(name,link) }}
					</div> -->
					<div>
						{% block content %}{% endblock %}
					</div>

					<div>
						{% block pagefooter %}{% endblock %}
					</div>

				</div>

				<div>
					{% block right_sidebar %}{% endblock %}
				</div>
		</div>

		{% from 'macro.html' import footer with context %}
		{{ footer() }}

	</body>
</html>
