feat(comments): prepare for more third party comments system integration

This commit is contained in:
Jimmy Cai
2020-09-08 23:30:15 +02:00
parent b66679d36a
commit c546964ce4
7 changed files with 19 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
{{ if .Site.Params.comments.enabled }}
<div class="comments-container provider-{{ .Site.Params.comments.provider }}">
{{ partial (printf "comments/provider/%s" .Site.Params.comments.provider) . }}
</div>
{{ end }}
@@ -0,0 +1 @@
{{ template "_internal/disqus.html" . }}