diff options
Diffstat (limited to 'layouts/partials/comment.html')
-rw-r--r-- | layouts/partials/comment.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/layouts/partials/comment.html b/layouts/partials/comment.html index 96e8a9d..c2161c3 100644 --- a/layouts/partials/comment.html +++ b/layouts/partials/comment.html @@ -1,5 +1,3 @@ -{{ if eq .Site.Params.comment.platform "disqus" }} -{{ partial "comment/disqus" . }} -{{ else if eq .Site.Params.comment.platform "commento" }} -{{ partial "comment/commento" . }} +{{ if .Site.Params.comment.platform }} + {{ partial (printf "comment/%s" .Site.Params.comment.platform) . }} {{ end }}
\ No newline at end of file |