diff options
| author | Reorx <novoreorx@gmail.com> | 2022-05-27 21:33:40 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-05-27 21:33:40 +0800 |
| commit | 28511efd081dba9dac8cbf8fa2c8135216264243 (patch) | |
| tree | 6fe8e74f91dbc1ae25d848d552cc0e3357d3b53d /layouts/partials/comments.html | |
| parent | 9f8b0c319412a75f703d98e9a36cc91e8d7ccdda (diff) | |
control comment system in partials/comments.html
Diffstat (limited to 'layouts/partials/comments.html')
| -rw-r--r-- | layouts/partials/comments.html | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index 918451a..a07744a 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -1,3 +1,9 @@ -{{- /* Comments area start */ -}} -{{- /* to add comments read => https://gohugo.io/content-management/comments/ */ -}} -{{- /* Comments area end */ -}} +{{- /* You can add your own layouts/comments.html to override this file */ -}} + +{{- with site.Params.commentSystem.disqus -}} + {{- partial "disqus.html" . }} +{{- end -}} + +{{- with site.Params.commentSystem.telegramWidget -}} + {{- partial "telegram_widget.html" . }} +{{- end -}} |
