summaryrefslogtreecommitdiff
path: root/_layouts/post.liquid
blob: 54bf21133dd3bc92d89ba562df89e7621ffaf3c7 (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
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>{{ page.title }}</title>
        <link rel="stylesheet" href="/bulma.css">
    </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 is-fluid">
                    <!-- begin title and date -->
                    <h1 class="title">
                        {{ page.title }}
                    </h1>

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

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

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

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

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

        <!-- begin main content -->
        <section class="section">
            <div class="container is-fluid">
                <div class="content">
                    {{ page.content }}
                </div>
            </div>
        </section>
        <!-- end main content -->

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

</html>