aboutsummaryrefslogtreecommitdiff
path: root/src/_includes/posts.njk
blob: 3cdfa2a112832e0880024f1577a6c7ed7db87c56 (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
<!DOCTYPE html>
<html lang="en">
<head>
{% include "./partials/head.njk" %}
</head>
<body class="flex h-screen flex-col font-supply-regular">
    {% include "./partials/header.njk" %}
    <main class="container mx-auto max-w-5xl p-8">
        <section class="w-full flex flex-col items-center px-3">
            <article class="flex flex-col my-4">
                <div class="flex flex-col justify-start p-6 ">
                    <div>
                        <p class="text-3xl bg-rose font-medium text-center text-darkish-200">{{title}}</p>
                        <p class="text-lg text-darkish-100 text-center">{{date | dateFilter}}</p>
                    </div>
                    <div class="mt-10 text-xl font-supply-regular text-justify text-darkish-300">
                        {{content | safe}}
                    </div>
                </div>
            </article>
            <div class="flex flex-col my-4">
                <a class="flex flex-col justify-start" href="/posts">back to posts</a>    
            </div>     
        </section>
        
        
    </main>
    {% include "./partials/footer.njk" %}
</body>
</html>