<!DOCTYPE html>

{% macro toc(headings) %}
<ol class="toc__sublist">
	{% for heading in headings %}
	<li class="toc__list-item">
		<a href="#{{ heading.id }}" class="no-href">{{heading.content}}</a>
		{% if heading.subheadings | length %} {{ toc(heading.subheadings) }} {%
		endif %}
	</li>
	{% endfor %}
</ol>
{% endmacro %}

<html class="type--{{filetype}}">
	<head>
		<meta charset="utf-8" />
		<title>{{ title }}</title>

		<style type="text/css">
			{{style }}
		</style>
	</head>
	<body>
		{% if options.us