{% extends theme.template.wide|template %}

{% block title %}
<title>{{wp_title}} | {{site.name}}</title>
{% endblock title %}

{% block css %}
<link rel="stylesheet" href="{{css_links(theme)}}">
{{wp_head}}
<style type="text/css">
	{% include theme.layouts.main_nav.style|template %}
	{% include theme.layouts.footer_nav.style|template %}
	
</style>
{% endblock css %}

{% block javascript_lib %} 
{{wp_footer}}
{% endblock javascript_lib %}


{% block javascript_local %}
{% include theme.layouts.main_nav.site_nav|template %}
{% endblock javascript_local %}


{% block content_header %}
	
{% endblock content_header %}

{% block navigation_header %}
    {% set menu = get_nav_menu("main", get_block_data(theme, "nav", "wide")) %} 
    {% set layout = theme.layouts.main_nav %}
    {% set block = get_block_data(theme, "nav", "wide") %}
    {% include layout.template|template with { "menu" : menu, "theme" : theme, "block" : block, "self" : layout } only %}
{% endblock navigation_header %}

{% block body_class %} {{function("get_body_class", "")|join(' ')}} {% endblock body_class %}
{% block content_1 %}
{% set article = get_article() %}
{% include 'content-single.twig' with {'article' :article} %}
	<section id="comments" class="comments blog-details-comments">
		{{function("comments_template")}}
	</section>
{% endblock %}

{% block content_2 %}
{% endblock %} 

{% block content_3 %}
{% endblock %} 

{% block content_4 %}
{% endblock %}
 
{% block content_5 %}
{% endblock %}

{% block content_6 %} 
{% endblock %}

{% block content_footer %} 

{{footer_widgets | safe}} 

{% endblock content_footer %}
     
{% block navigation_footer %}
 {% set menu = get_nav_menu("footer" , get_block_data(theme, "nav", "wide")) %}
 {% set layout = theme.layouts.footer_nav %}
 {% set block = get_block_data(theme, "nav", "wide") %}
 {% include layout.template|template with { "menu" : menu, "theme" : theme, "block" : block, "self" : layout } only %}
{% endblock navigation_footer %}
