{% comment %}
#
# This layout uses bootstrap with lux theme
#
{% endcomment %}

{% include git-wiki/defines/defines.html %}

<!doctype html>
<html>

<head>
    {% if site.inc_before_head %}
    {% include {{ site.inc_before_head }} %}
    {% endif %}

    {% include git-wiki/sections/head/meta.html %}
    {% include git-wiki/sections/head/scripts.html %}
    {% include git-wiki/sections/head/styles.html %}

    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.1.3/lux/bootstrap.min.css">
    
    {% comment %} Hacky-Fix for lux theme {% endcomment %}
    <style>
        .git-wiki-page {
            padding-left: 0;   
        }
        
        .wrapper .col-lg-3 {
            max-width: 300px;
        }
    </style>

    {% if site.inc_after_head %}
    {% include {{ site.inc_after_head }} %}
    {% endif %}
</head>

<body>
    <div class="wrapper">
        <div class="row">
            <div class="col-lg-3">
                {% include git-wiki/sections/header/header.html %}
            </div>
            <div class="col-lg-9">
                <div class="git-wiki-page">
                    {% include git-wiki/sections/tools/tools.html %}

                    {% if site.inc_before_toc %}
                    {% include {{ site.inc_before_toc }} %}
                    {% endif %}

                    <div id="git-wiki-toc"></div>

                    {% if site.inc_after_toc %}
                    {% include {{ site.inc_after_toc }} %}
                    {% endif %}

                    {% if site.inc_before_content %}
                    {% include {{ site.inc_before_content }} %}
                    {% endif %}

                    <div id="git-wiki-content">
                        {{ content }}
                    </div>

                    {% if site.inc_after_content %}
                    {% include {{ site.inc_after_content }} %}
                    {% endif %}
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col">
                {% include git-wiki/sections/footer/footer.html %}
            </div>
        </div>
    </div>

    {% include git-wiki/sections/tail/tail.html %}
</body>

</html>
