Skip to content

Commit

Permalink
Merge pull request #95 from rz3n/master
Browse files Browse the repository at this point in the history
Adds support for Telegram Comments (comments.app)
  • Loading branch information
yoshiharuyamashita committed Feb 25, 2021
2 parents fe92751 + 1368e45 commit 63a69ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions layouts/partials/telegram.html
@@ -0,0 +1,5 @@
{{ if or (.Site.Params.Telegram.siteID) (.Site.Params.Telegram.limit) }}
<!-- Telegram DiscussBot -->
<div id="telegram_thread"></div>
<script async src="https://comments.app/js/widget.js?2" data-comments-app-website='{{ .Site.Params.Telegram.siteID }}' data-limit='{{ .Site.Params.Telegram.limit }}'></script>
{{ end }}
2 changes: 2 additions & 0 deletions layouts/post/single.html
Expand Up @@ -18,6 +18,8 @@ <h2>{{ .Description }}</h2>

{{ partial "disqus.html" . }}

{{ partial "telegram.html" . }}

</div>

{{ partial "footer.html" . }}

0 comments on commit 63a69ca

Please sign in to comment.