summaryrefslogtreecommitdiff
path: root/_layouts/git-wiki-bs-lux.html
blob: 3de91692309e366f3bfa89328f61c3792ca4549a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{% 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-content {
            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-content">
                    {% include git-wiki/sections/tools/tools.html %}

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

                    <div id="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="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>