Warn that guestbook is only enabled in production

This commit is contained in:
Joshua Goins 2022-12-28 11:33:04 -05:00
parent 5840b2ef4a
commit f8ccc5fc95

View file

@ -1,4 +1,5 @@
<script
{{ if hugo.IsProduction }}
<script
data-isso="//comments.redstrate.com/"
data-isso-title=""
data-isso-avatar="false"
@ -8,3 +9,6 @@
<section id="isso-thread" data-title="Guestbook" data-isso-id="/guestbook">
<noscript>Javascript needs to be activated to view comments.</noscript>
</section>
{{ else }}
Guestbook is disabled in development mode.
{{ end }}