2017-07-27 19:42:07 +00:00
|
|
|
{{ if .Params.chapter }}
|
|
|
|
</div> <!-- end chapter-->
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2016-03-17 11:01:39 +00:00
|
|
|
</div>
|
2017-03-13 22:31:13 +00:00
|
|
|
|
2016-03-17 11:01:39 +00:00
|
|
|
<div id="navigation">
|
2017-07-27 19:42:07 +00:00
|
|
|
<!-- Next prev page -->
|
|
|
|
{{ $currentNode := . }}
|
|
|
|
|
|
|
|
{{ template "menu-nextprev" dict "menu" .Site.Home "currentnode" $currentNode }}
|
|
|
|
|
|
|
|
{{ define "menu-nextprev" }}
|
|
|
|
{{$currentNode := .currentnode }}
|
|
|
|
{{ if ne .menu.Params.hidden true}}
|
|
|
|
{{if hasPrefix $currentNode.URL .menu.URL }}
|
|
|
|
{{ $currentNode.Scratch.Set "NextPageOK" "OK" }}
|
|
|
|
{{ $currentNode.Scratch.Set "prevPage" ($currentNode.Scratch.Get "prevPageTmp") }}
|
|
|
|
{{else}}
|
|
|
|
{{if eq ($currentNode.Scratch.Get "NextPageOK") "OK"}}
|
|
|
|
{{ $currentNode.Scratch.Set "NextPageOK" nil }}
|
|
|
|
{{ $currentNode.Scratch.Set "nextPage" .menu }}
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
{{ $currentNode.Scratch.Set "prevPageTmp" .menu }}
|
|
|
|
|
|
|
|
{{ $currentNode.Scratch.Set "pages" .menu.Pages }}
|
|
|
|
{{ if .menu.IsHome}}
|
|
|
|
{{ $currentNode.Scratch.Set "pages" .menu.Sections }}
|
|
|
|
{{ else if .menu.Sections}}
|
|
|
|
{{ $currentNode.Scratch.Set "pages" (.menu.Pages | union .menu.Sections) }}
|
|
|
|
{{end}}
|
|
|
|
{{ $pages := ($currentNode.Scratch.Get "pages") }}
|
|
|
|
|
|
|
|
{{ range $pages.ByWeight }}
|
|
|
|
{{ template "menu-nextprev" dict "menu" . "currentnode" $currentNode }}
|
|
|
|
{{end}}
|
2017-03-13 21:16:20 +00:00
|
|
|
{{ end }}
|
2017-03-13 23:55:59 +00:00
|
|
|
{{ end }}
|
2017-07-27 19:42:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{with ($.Scratch.Get "prevPage")}}
|
|
|
|
<a class="nav nav-prev" href="{{.URL}}" title="{{.Title}}"> <i class="fa fa-chevron-left"></i></a>
|
|
|
|
{{end}}
|
|
|
|
{{with ($.Scratch.Get "nextPage")}}
|
|
|
|
<a class="nav nav-next" href="{{.URL}}" title="{{.Title}}" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
|
|
|
|
{{end}}
|
2016-03-17 11:01:39 +00:00
|
|
|
</div>
|
2016-03-17 13:10:43 +00:00
|
|
|
|
2016-03-17 11:01:39 +00:00
|
|
|
</section>
|
2017-07-27 19:42:07 +00:00
|
|
|
|
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>
|
|
|
|
<script src="{{"js/jquery.sticky-kit.min.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
|
|
|
|
<script src="{{"js/featherlight.min.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
|
|
|
|
<script src="{{"js/html5shiv-printshiv.min.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
|
|
|
|
<script src="{{"js/highlight.pack.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
|
2016-04-10 22:09:03 +00:00
|
|
|
<script>hljs.initHighlightingOnLoad();</script>
|
2017-08-16 21:14:58 +00:00
|
|
|
<script src="{{"js/modernizr.custom.71422.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
|
|
|
|
<script src="{{"js/learn.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
|
|
|
|
<script src="{{"js/hugo-learn.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
|
2017-07-30 16:02:07 +00:00
|
|
|
|
2017-08-16 21:14:58 +00:00
|
|
|
<link href="{{"mermaid/mermaid.css" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}" type="text/css" rel="stylesheet" />
|
|
|
|
<script src="{{"mermaid/mermaid.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
|
2017-07-30 16:02:07 +00:00
|
|
|
<script>
|
|
|
|
mermaid.initialize({ startOnLoad: true });
|
|
|
|
</script>
|
2017-08-01 20:25:17 +00:00
|
|
|
<script>
|
|
|
|
{{ partial "custom-footer.html" . }}
|
|
|
|
</script>
|
2016-03-17 11:01:39 +00:00
|
|
|
</body>
|
|
|
|
</html>
|