Commit e0a6e87f authored by Kaushal Modi's avatar Kaushal Modi

Add support for wavedrom

https://github.com/wavedrom/wavedrom
parent 68891b33
......@@ -3,7 +3,11 @@
{{ partial "head.html" . }}
<body lang="en">
{{ with .Params.wavedrom }}
<body lang="en" onload="WaveDrom.ProcessAll()">
{{ else }}
<body lang="en">
{{ end }}
<!-- Top color border of the page -->
<div class="border" id="home"></div>
......
......@@ -155,6 +155,10 @@
{{ partialCached "mathjax.html" $ }}
{{ end }}
{{ with .Params.wavedrom }}
{{ partialCached "wavedrom.html" $ }}
{{ end }}
<!-- Favicons -->
<!-- Generated using https://realfavicongenerator.net/ -->
{{ if (.Param "favicons") }}
......
<script src="https://cdnjs.cloudflare.com/ajax/libs/wavedrom/1.9.2/skins/default.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/wavedrom/1.9.2/wavedrom.min.js" type="text/javascript"></script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment