summaryrefslogtreecommitdiffstats
path: root/layouts/_default/single.html
blob: 04d016cb6bcee0c9cebe10e7ef930cde19462926 (plain) (blame)
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
{{ define "main" }}
<article>
    <h4 id="post-title">
        <a href="{{ .Permalink }}">{{ .Title }}</a>
    </h4>
    <div id="post-meta">
        {{ partial "post-meta.html" . }}
    </div>
    <div class="markdown-body" id="post-content">
        {{ .Content }}
    </div>
</article>
{{ if ne .Params.noLicense true }}
<div class="markdown-body" id="license">
    <blockquote>
        <p>{{ i18n "postCopyrightFront" }}<a rel="license" href="{{ .Site.Params.licenseLink }}" target="_blank">{{ .Site.Params.license }}</a>{{ i18n "postCopyrightEnd" }}</p>
    </blockquote>
</div>
{{ end }}
{{ if .Site.Params.utterancesComment }}
{{ partial "comment-utterances.html" . }}
{{ end }}
{{ if .Site.Params.disqusComment }}
{{ partial "comment-disqus.html" . }}
{{ end }}
{{ end }}