summaryrefslogtreecommitdiff
path: root/_layouts/post.liquid
blob: 50fb240ccdd500c294c384b5c4a817528907882a (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
81
82
83
84
<!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>

                    <h2 class="subtitle">
                        {% if page.published_date %}
                            {{ page.published_date | date: "%A, %b %e, %Y" }}
                        {% else %}
                            Unpublished!
                        {% endif %}
                    </h2>
                    <!-- end title and date -->

                    <!-- begin categories and tags -->
                    {% if page.categories %}
                        <p>
                            Categories: 
                            {% for category in page.categories %}
                                <span class="tag">
                                    {{ category | downcase }}
                                </span>
                            {% endfor %}
                        </p>
                    {% endif %}

                    {% if page.tags %}
                        <p>
                            Tags: 
                            {% for tag in page.tags %}
                                <span class="tag">
                                    #{{ tag | downcase }}
                                </span>
                            {% endfor %}
                        </p>
                    {% endif %}
                    <!-- 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="content">
                        {{ page.content }}
                    </div>
                </div>
            </div>
        </section>
        <!-- end main content -->

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

</html>