aboutsummaryrefslogtreecommitdiff
path: root/src/_includes/posts.njk
blob: 9212cd48d53c7e64020e674e3fe63e386ee79805 (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
<!DOCTYPE html>
<html lang="en">
    <head>
        {% include "./partials/head.njk" %}
    </head>
    <body>
        <div class="container">
            {% include "./partials/header.njk" %}
            <hr>
            <main>
                <section>
                    <article>
                        <div>
                            <div>
                                <h2>{{title}}</h2>
                                <p class="post-date">(published on {{page.date.toUTCString() | dateFilter}})</p>
                            </div>
                            <div>
                                {{content | safe}}
                            </div>
                        </div>
                    </article>
                    <div class="mt-10">
                        <span>If you found this article useful, spread the word by sharing this link 👉
                        <span>
                                <a href="https://twitter.com/share?ref_src=twsrc%5Etfw" class="twitter-share-button" data-via="indrajithKLIS" data-hashtags="gamedev #indiegamedev #gametools" data-show-count="false">Tweet</a>
                                <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
                            </span>
                        </span>
                    </div>
                    <div class="mt-10">
                        <span class="font-italics">Post Last Modified: <span class="font-bold">{{modified() | dateFilter}}</span></span>
                    </div>
                    <div class="mt-10">
                        <a href="/posts">back to posts</a>
                    </div>
                </section>

            </main>
            {% include "./partials/footer.njk" %}
        </div>
    </body>
</html>