Fix #261
This commit is contained in:
parent
a334e197aa
commit
37d73ff832
21 changed files with 26 additions and 30 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue