Skip to content
Permalink
Browse files

Fix typo: .relPermalink → .RelPermalink

  • Loading branch information...
VincentTam committed Apr 25, 2019
1 parent 37d73ff commit c44ae13891440b3352947c0a0cd65378f6ffff27
Showing with 3 additions and 3 deletions.
  1. +1 −1 layouts/partials/post_meta.html
  2. +2 −2 layouts/partials/staticman-comments.html
@@ -18,7 +18,7 @@
{{ end }}
{{- if .Site.Params.staticman -}}
&nbsp;|&nbsp;<i class="fas fa-comment"></i>&nbsp;
{{ $slug := replace .relPermalink "/" "" }}
{{ $slug := replace .RelPermalink "/" "" }}
{{ if .Site.Data.comments }}
{{ $comments := index $.Site.Data.comments $slug }}
{{ if $comments }}
@@ -1,6 +1,6 @@
<section class="js-comments staticman-comments">

{{ $slug := replace .relPermalink "/" "" }}
{{ $slug := replace .RelPermalink "/" "" }}

{{ if .Site.Data.comments }}
{{ $comments := index $.Site.Data.comments $slug }}
@@ -36,7 +36,7 @@ <h4 class="comment-author">{{ .name }}</h4>


<form class="js-form form" method="post" action="{{ .Site.Params.staticman.api }}">
<input type="hidden" name="options[slug]" value="{{ replace .relPermalink "/" "" }}">
<input type="hidden" name="options[slug]" value="{{ replace .RelPermalink "/" "" }}">
<input type="hidden" name="options[parent]" value="">

{{ if .Site.Params.staticman.recaptcha }}

0 comments on commit c44ae13

Please sign in to comment.
You can’t perform that action at this time.