diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 67fb10a7..62144922 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -82,7 +82,13 @@

{{ i18n "comments" }}

{{- end -}} + {{- if .Site.Params.gitalk.repo -}} +
+

{{ i18n "comments" }}

+ {{ partial "comments/gitalk.html" . }} +
+ {{- end -}} {{ end }} diff --git a/layouts/partials/comments/gitalk.html b/layouts/partials/comments/gitalk.html new file mode 100644 index 00000000..71b8cd62 --- /dev/null +++ b/layouts/partials/comments/gitalk.html @@ -0,0 +1,21 @@ +
+ + + \ No newline at end of file