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

footer.html « partials « layouts - github.com/4ever9/less.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 90a502659fdc08fd749a68f2fcb520dedde90deb (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
<div class="container">
    <footer>
        <div>Less is More</div>
        <span class="copyright">
        {{ $year := "2020" }}
            {{ $created := $.Site.Params.siteCreated }}
            {{ if and $created (lt $created now.Year) }}
                {{ $year = printf "%d - %d" $created now.Year }}
            {{ else }}
                {{ $year = printf "%d" now.Year }}
            {{ end }}
        © {{ $year }}
        </span>
        <a href="">粤ICP备120011798号</a>
    </footer>
</div>
</body>
<script src="https://cdn.staticfile.org/tocbot/4.11.2/tocbot.min.js"></script>
<script>
    tocbot.init({
        // Where to render the table of contents.
        tocSelector: '.single-toc',
        // Where to grab the headings to build the table of contents.
        contentSelector: '.single-content',
        // Which headings to grab inside of the contentSelector element.
        headingSelector: 'h1, h2, h3',
        // For headings inside relative or absolute positioned containers within content.
        hasInnerContainers: false,
        collapseDepth: 4
    });
</script>
{{ $built := resources.Get "js/less.js" | js.Build "less.js" }}
<script type="text/javascript" src="{{ $built.RelPermalink }}"></script>
</html>