summaryrefslogtreecommitdiff
path: root/_layouts/post.liquid
blob: ca9bf8cc6943ee69edf4eaab57b9b4f42a29d5b2 (plain) (blame)
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
<!DOCTYPE html>
<html>
    <head>
        {% include "head.liquid" %}
    </head>

    <body>
        <!-- begin hero -->
        <section class="hero is-primary">
            <!-- begin hero head -->
            <div class="hero-head">
                {% include "nav.liquid" %}
            </div>
            <!-- end hero head -->

            <!-- begin hero body -->
            <div class="hero-body">
                <div class="container">
                    <!-- begin title and date -->
                    <h1 class="title">
                        {{ page.title }}
                    </h1>
                    <!-- end title and date -->

                    <!-- begin categories and tags -->
                    <div class="field is-grouped is-grouped-multiline">
                        <div class="control">
                            <h2 class="subtitle">
                                {% if page.published_date %}
                                    {{ page.published_date | date: "%A, %b %e, %Y" }}
                                {% else %}
                                    Unpublished!
                                {% endif %}
                            </h2>
                        </div>

                        <div class="control">
                            {% include categories.liquid %}
                        </div>
                    </div>

                    {% include tags.liquid %}
                    <!-- end categories and tags -->

                </div>
            </div>
            <!-- end hero body -->

        </section>
        <!-- end hero -->

        <!-- begin main content -->
        <section class="section">
            <div class="container">
                <div class="columns">
                    <div class="column">
                        <div class="content">
                            {{ page.content }}
                        </div>
                    </div>

                    <div class="column is-narrow">
                        <div class="section">
                            {% include social-share.liquid %}
                        </div>
                        <div class="section">
                            {% include posts-similar.liquid %}
                        </div>
                    </div>
                </div>
            </div>
        </section>
        <!-- end main content -->

        <footer class="footer">
            {% include "footer.liquid" %}
        </footer>
    </body>

</html>