Distribute `mermaid.js` for the contents pages.
This commit is contained in:
parent
b9a48f1794
commit
cff8ef00c5
|
@ -29,4 +29,4 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{{ partial "footer.html" . }}
|
{{ partial "footer-content.html" . }}
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
|
||||||
|
<!-- Footer Section Layout
|
||||||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
||||||
|
<footer role="contentinfo">
|
||||||
|
<div style="text-align:center;">
|
||||||
|
{{ with .Site.Params.profile }}<img src="{{ . }}" width="64" height="64"><br>{{ end }}
|
||||||
|
{{ .Site.Params.copyright }}
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script src="https://unpkg.com/mermaid/dist/mermaid.min.js"></script>
|
||||||
|
<script>mermaid.initialize({startOnLoad:true});</script>
|
||||||
|
|
||||||
|
{{ with .Site.Params.analytics }}<script>
|
||||||
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||||
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||||
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||||
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||||
|
ga('create', '{{ . }}', 'auto');
|
||||||
|
ga('send', 'pageview');
|
||||||
|
</script>{{ end }}
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -29,4 +29,4 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{{ partial "footer.html" . }}
|
{{ partial "footer-content.html" . }}
|
||||||
|
|
|
@ -29,4 +29,4 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{{ partial "footer.html" . }}
|
{{ partial "footer-content.html" . }}
|
||||||
|
|
|
@ -29,4 +29,4 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{{ partial "footer.html" . }}
|
{{ partial "footer-content.html" . }}
|
||||||
|
|
Loading…
Reference in New Issue