aboutsummaryrefslogtreecommitdiff
path: root/lume/src/_includes/blog.njk
blob: c4d93366bdc3dfe8b8bc975161ab0b5ca4d02a5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
layout: base.njk
---

<script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script>

<div class="adaptive" data-ea-publisher="christinewebsite" data-ea-type="text" data-ea-style="fixedfooter"></div>

<article class="prose dark:prose-invert max-w-2xl">
    <h1>{{title}}</h1>
    <p class="text-sm text-fg-3 dark:text-fgDark-3">
        {{date.toDateString()}}
    </p>

    {% if hero %}
        <meta property="og:image" content={`https://cdn.xeiaso.net/file/christine-static/hero/${hero.file}.jpg`}/>
        {{ comp.XeblogHero(hero) | safe }}
    {% endif %}

    {{content | safe}}
</article>