hugo-theme-relearn/layouts/partials/footer.html

58 lines
3.4 KiB
HTML
Raw Normal View History

{{ if .Params.chapter }}
</div> <!-- end chapter-->
{{ end }}
</div>
2017-11-04 06:37:37 +00:00
{{ partial "custom-comments.html" . }}
</div>
2017-03-13 22:31:13 +00:00
<div id="navigation">
<!-- Next prev page -->
2021-08-26 21:45:21 +00:00
{{$showPrevNext := (and (not .Params.disableNextPrev) (not .Site.Params.disableNextPrev))}}
{{if $showPrevNext}}
{{with ($.Scratch.Get "relearnPrevPage")}}
<a class="nav nav-prev" href="{{.RelPermalink}}" title="{{.Title}}"><i class="fa fa-chevron-left"></i></a>
2021-08-26 21:45:21 +00:00
{{end}}
{{with ($.Scratch.Get "relearnNextPage")}}
<a class="nav nav-next" href="{{.RelPermalink}}" title="{{.Title}}"><i class="fa fa-chevron-right"></i></a>
2021-08-26 21:45:21 +00:00
{{end}}
{{end}}
</div>
2016-03-17 13:10:43 +00:00
</section>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
2017-08-16 21:14:58 +00:00
<script src="{{"js/clipboard.min.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
<script src="{{"js/perfect-scrollbar.min.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
<script src="{{"js/perfect-scrollbar.jquery.min.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
<script src="{{"js/jquery.sticky.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
2021-07-02 21:01:38 +00:00
<script src="{{"js/jquery.svg.pan.zoom.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
2017-08-16 21:14:58 +00:00
<script src="{{"js/featherlight.min.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
2019-02-07 13:32:46 +00:00
<script src="{{"js/modernizr.custom-3.6.0.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
{{ if (or (and (ne .Params.disableMermaid nil) (not .Params.disableMermaid)) (not .Site.Params.disableMermaid)) }}
{{ if isset .Params "custommermaidurl" }}
<script src="{{ .Params.customMermaidURL }}"></script>
{{ else if isset .Site.Params "custommermaidurl" }}
<script src="{{ .Site.Params.customMermaidURL }}"></script>
{{ else }}
<script src="{{"js/mermaid.min.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
{{ end }}
{{ if isset .Params "mermaidinitialize" }}
{{ $.Scratch.Set "mermaidInitialize" .Params.mermaidInitialize }}
{{ else if isset .Site.Params "mermaidinitialize" }}
{{ $.Scratch.Set "mermaidInitialize" .Site.Params.mermaidInitialize }}
{{ else }}
{{ $.Scratch.Set "mermaidInitialize" "{ \"startOnLoad\": true }" }}
{{ end }}
<script>
if (mermaid) {
mermaid.mermaidAPI.initialize( Object.assign( { "securityLevel": "antiscript" }, JSON.parse({{ $.Scratch.Get "mermaidInitialize" }}), { startOnLoad: false } ) );
}
</script>
{{ end }}
<script src="{{"js/relearn.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
{{ partial "custom-footer.html" . }}
</body>
</html>