Warn that guestbook is only enabled in production
This commit is contained in:
parent
5840b2ef4a
commit
f8ccc5fc95
1 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
{{ if hugo.IsProduction }}
|
||||
<script
|
||||
data-isso="//comments.redstrate.com/"
|
||||
data-isso-title=""
|
||||
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Reference in a new issue