summaryrefslogtreecommitdiffstats
path: root/layouts/_default/single.html
blob: aca0bf64f3e72813df45c93dc41d08a098be235b (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{{ define "main" }}
<main>
    <div class="container-lg clearfix">
        <!-- list -->
        <div class="col-md-9 col-12 float-left" id="content">
            <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 }}
        </div>
        <!-- sidebar -->
        <div class="col-md-3 col-12 float-left" id="sidebar">
            {{ partial "sidebar.html" . }}
        </div>
        <div id="container-progress">
            <div id="progress"></div>
        </div>
    </div>
</main>
{{ end }}