Hide the comment section during development

This commit is contained in:
BBaoVanC 2021-10-25 21:57:58 -05:00
parent b45c051914
commit 70b2233113
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A

View File

@ -1,3 +1,7 @@
{{ if ne .Site.BaseURL "https://bbaovanc.com" }}
<i>Comment section is not available during development previews.</i>
{{ else }}
<hr id="comments-hr">
<noscript>
@ -41,3 +45,5 @@
<script>!function(e,n){for(var o=0;o<e.length;o++){var r=n.createElement("script"),c=".js",d=n.head||n.body;"noModule"in r?(r.type="module",c=".mjs"):r.async=!0,r.defer=!0,r.src=remark_config.host+"/web/"+e[o]+c,d.appendChild(r)}}(remark_config.components||["embed"],document);</script>
<div id="remark42"></div>
{{ end }}