{# Side-pane with table of contents #}
<nav class="wm-toc-pane">
	{# Optional link to the repository #}
	{%- block repo %}
	{%- if config.repo_url or config.toc_info %}
	<ul class="wm-toc-social">
		{%- if config.repo_url %}
		<li>
			<a href="{{ config.repo_url }}">
				{% include 'repo-icon.html' %}
				{{ config.repo_name }}
			</a>
		</li>
		{%- endif %}
		{%- if config.extra.nav_links %}
		{% include 'nav-links.html' %}
		{%- endif %}
	</ul>
	<hr />
	{%- endif %}
	{%- endblock %}

	{%- block site_nav %}
	<ul>
		{%- for nav_item in nav %}
		{% include 'nav-item.html' %}
		{%- endfor %}
	</ul>
	{%- endblock %}
</nav>

