Welcome to mirror list, hosted at ThFree Co, Russian Federation.

single.html « _default « layouts - github.com/4ever9/less.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0ef0cce85dd488d657a51092e4425edaef601630 (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
28
29
30
31
32
33
34
35
{{ define "main" }}
    <div class="container">
        <div class="row">
            <div class="main single">
                <div class="single-body column">
                    <div class="single-title">
                        {{.Title}}
                    </div>
                    <div class="single-date">
                        {{ .Date.Format "2006-01-02" }}
                    </div>
                    <div class="single-tags">
                        {{ range (.GetTerms "tags") }}
                            <a class="single-tag" href="{{ .Permalink }}">#{{ .LinkTitle }}</a>
                        {{ end }}
                    </div>
                    <div class="single-content">
                        {{.Content}}
                    </div>
                </div>

            </div>
            <script src="https://utteranc.es/client.js"
                    repo="4ever9/blog-comments"
                    issue-term="pathname"
                    theme="github-light"
                    crossorigin="anonymous"
                    async>
            </script>
            <div class="single-toc-wrap">
                <div class="single-toc"></div>
            </div>
        </div>
    </div>
{{ end }}