Initial commit for Hugo site.

This commit is contained in:
Charish Patel
2025-02-20 08:28:31 -05:00
parent 737c448252
commit 045d0c24f3
696 changed files with 91218 additions and 0 deletions
@@ -0,0 +1,20 @@
<div class="comments">
{{ if .Site.Params.remark42 }}
<div id="remark42"></div>
<script>
themeFromLS = localStorage.getItem("theme")
themeFromHugo = document.body.classList.contains("dark-theme") ? "dark" : "light"
currentTheme = themeFromLS ? themeFromLS : themeFromHugo;
var remark_config = {
host: {{ site.Params.remark42_host }},
site_id: {{ site.Params.remark42_site_id }},
theme: currentTheme,
max_shown_comments: 100,
}
</script>
<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>
{{ else if .Site.DisqusShortname }}
{{ template "_internal/disqus.html" . }}
{{ end }}
</div>