summaryrefslogtreecommitdiffstats
path: root/layouts/_default/single.html
blob: 6b2c85120f5a3a89d1c948187f88d84d65f5ba1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ define "main" }}
<article class="post" role="document"{{ with .Params.lang}} lang="{{ . }}"{{ end }}>
    <header>
        <h1 class="text-title">
            {{ .Params.caption | default .Title }}
        </h1>
    </header>

    <p class="byline">
        {{ partial "post-meta/date.html" . }}
    </p>

    <div class="post-body">
        {{ .Content }}
    </div>
</article>
{{ end }}