2021-09-11 22:40:03 +00:00
|
|
|
{{- if .Params.chapter }}
|
|
|
|
</div> <!-- end chapter-->
|
|
|
|
{{- end }}
|
2021-09-13 17:24:06 +00:00
|
|
|
</main><!-- #body-inner -->
|
2021-09-11 22:40:03 +00:00
|
|
|
{{- partial "custom-comments.html" . }}
|
|
|
|
</div>
|
2021-09-13 17:23:38 +00:00
|
|
|
</div><!-- #body -->
|
2016-03-17 11:01:39 +00:00
|
|
|
<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>
|
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>
|
2021-09-11 22:40:03 +00:00
|
|
|
{{- 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 }}
|
2021-11-03 19:50:35 +00:00
|
|
|
<script>
|
2021-11-03 20:42:38 +00:00
|
|
|
if (typeof mermaid != 'undefined' && typeof mermaid.mermaidAPI != 'undefined') {
|
2021-09-11 22:40:03 +00:00
|
|
|
mermaid.mermaidAPI.initialize( Object.assign( { "securityLevel": "antiscript" }, JSON.parse({{ $.Scratch.Get "mermaidInitialize" }}), { startOnLoad: false } ) );
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
{{- end }}
|
2022-02-17 19:09:50 +00:00
|
|
|
<script>
|
|
|
|
window.T_Copy_to_clipboard = '{{ T "Copy-to-clipboard" | safeJS }}';
|
|
|
|
window.T_Copied_to_clipboard = '{{ T "Copied-to-clipboard" | safeJS }}';
|
|
|
|
window.T_Copy_link_to_clipboard = '{{ T "Copy-link-to-clipboard" | safeJS }}';
|
|
|
|
window.T_Link_copied_to_clipboard = '{{ T "Link-copied-to-clipboard" | safeJS }}';
|
|
|
|
</script>
|
2022-02-20 22:58:16 +00:00
|
|
|
<script src="{{"js/theme.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
|
2021-09-11 22:40:03 +00:00
|
|
|
{{- partial "custom-footer.html" . }}
|
2016-03-17 11:01:39 +00:00
|
|
|
</body>
|
|
|
|
</html>
|