add comments with hyver and remove dark mode toggle

This commit is contained in:
Matthew Wong 2022-07-20 09:57:04 -04:00
parent 7b000aee96
commit 1797564450
3 changed files with 14 additions and 2 deletions

View File

@ -20,6 +20,9 @@
{{partial "toc.html" .}}
{{partial "textprocessing.html" . }}
</article>
{{ if in .Page.RelPermalink "/posts/" }}
{{partial "hyvor.html" .}}
{{ end }}
{{partial "footer.html" .}}
{{partial "popover.html" .}}
</div>

View File

@ -13,10 +13,10 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<a href="javascript:void(0);" id="search-icon">
<i class="fa fa-search"></i>
</a>
<a href="javascript:void(0);" id="darkmode-switch">
<!-- <a href="javascript:void(0);" id="darkmode-switch">
<input class='toggle' id='darkmode-toggle' type='checkbox' tabindex="-1" hidden>
<i class="fa fa-sun-o" id="darkmode-icon" for="darkmode-toggle" tabindex="-1"></i>
</a>
</a> -->
</div>
</header>
<script>

View File

@ -0,0 +1,9 @@
<div id="hyvor-talk-view"></div>
<script type="text/javascript">
var HYVOR_TALK_WEBSITE = 7458;
var HYVOR_TALK_CONFIG = {
url: false,
id: false
};
</script>
<script async type="text/javascript" src="//talk.hyvor.com/web-api/embed.js"></script>