add comment system
This commit is contained in:
4
layouts/partials/comment.html
Normal file
4
layouts/partials/comment.html
Normal file
@ -0,0 +1,4 @@
|
||||
{{ $enableComment := .Params.comment | default .Site.Params.comment.enable }}
|
||||
{{ if and $enableComment .Site.Params.comment.provider }}
|
||||
{{ partial (printf "comments/%s.html" .Site.Params.comment.provider) . }}
|
||||
{{ end }}
|
Reference in New Issue
Block a user