Fix typo: .relPermalink → .RelPermalink
This commit is contained in:
parent
37d73ff832
commit
c44ae13891
2 changed files with 3 additions and 3 deletions
|
|
@ -18,7 +18,7 @@
|
|||
{{ end }}
|
||||
{{- if .Site.Params.staticman -}}
|
||||
| <i class="fas fa-comment"></i>
|
||||
{{ $slug := replace .relPermalink "/" "" }}
|
||||
{{ $slug := replace .RelPermalink "/" "" }}
|
||||
{{ if .Site.Data.comments }}
|
||||
{{ $comments := index $.Site.Data.comments $slug }}
|
||||
{{ if $comments }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue