summaryrefslogtreecommitdiff
path: root/layouts/fiction/page.html
blob: 490f106cf75dcf4bef244a7e79db89ee26eb6d89 (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
{{ define "main" }}
    <article class="h-entry">
      <header class="text-center">
        {{ partial "components/logo" (dict
            "link" "fiction/"
            "ctx" .
            "imageClass" "block w-[10rem]"
            "class" "flex justify-center"
        ) }}
        <h1
            class="xerox text-4xl font-900"
            data-pagefind-meta="title"
        ><span class="p-name" style="view-transition-name: post-{{ .File.UniqueID }}">{{ .Title }}</span></h1>
        <div class="text-secondary">
            {{ partial "components/date" . }} ·
            {{ partial "components/wordcount" . }}</div>
      </header>

        {{ partial "content" . }}
        {{ partial "posts/interaction" . }}
        {{ partial "components/back-to-top" . }}
        {{ partial "components/microformats" . }}
    </article>
{{ end }}