aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/single.html
blob: 57adda22a2f51e75d26a93d0bcaf5924a9a57e48 (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
{{ define "main" }}
<article>
    <div class="w-100 vh-50 dt bg-center cover bg-gray"
    style="background-image:url({{ .Params.coverimage }})">
        <header class="dt pa5 mw7 center post-header white">
            <h1 class="f1 tc">
                {{ .Title }}</h1>

            <div class="f4 tracked">{{ .Date.Format "Mon, Jan 2, 2006" }}</div>
        </header>
    </div>

    <div id="content" class="mw7 center">
        <div class="f4 lh-copy pv4 ph2 black-70">
            {{ .Content }}
        </div>

        <footer class="ph3">
            <h1 class="f5 ttu trackex">Tagged in</br></h1>
            {{ range .Params.tags }}
            <a class="f5 link dim br1 ph3 pv3 blue dib mb2 hover-bg-black hover-white ba" href="{{ $.Site.LanguagePrefix }}/tags/{{ . | urlize }}/">{{ . }}</a>
            {{ end }}
        </footer>

    </div>
</article>
{{ end }}