blob: d9ad6cd794081f57325da0392aea756ad887ac4e (
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
|
<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>
<script crossorigin="anonymous" integrity="sha384-LVoNJ6yst/aLxKvxwp6s2GAabqPczfWh6xzm38S/YtjUyZ+3aTKOnD/OJVGYLZDl" src="https://lib.baomitu.com/jquery/3.5.0/jquery.min.js"></script>
{{ $built := resources.Get "js/less.js" | js.Build "less.js" }}
<script type="text/javascript" src="{{ $built.RelPermalink }}"></script>
</html>
|