This commit is contained in:
Vincent Tam 2019-04-25 11:09:47 +02:00
commit 37d73ff832
21 changed files with 26 additions and 30 deletions

View file

@ -1,6 +1,6 @@
<section class="js-comments staticman-comments">
{{ $slug := replace .URL "/" "" }}
{{ $slug := replace .relPermalink "/" "" }}
{{ if .Site.Data.comments }}
{{ $comments := index $.Site.Data.comments $slug }}
@ -36,7 +36,7 @@
<form class="js-form form" method="post" action="{{ .Site.Params.staticman.api }}">
<input type="hidden" name="options[slug]" value="{{ replace .URL "/" "" }}">
<input type="hidden" name="options[slug]" value="{{ replace .relPermalink "/" "" }}">
<input type="hidden" name="options[parent]" value="">
{{ if .Site.Params.staticman.recaptcha }}