Fix typo: .relPermalink → .RelPermalink

This commit is contained in:
Vincent Tam 2019-04-25 12:16:32 +02:00
commit c44ae13891
2 changed files with 3 additions and 3 deletions

View file

@ -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 }}