diff options
Diffstat (limited to 'layouts/partials/telegram_widget.html')
| -rw-r--r-- | layouts/partials/telegram_widget.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/partials/telegram_widget.html b/layouts/partials/telegram_widget.html new file mode 100644 index 0000000..84db442 --- /dev/null +++ b/layouts/partials/telegram_widget.html @@ -0,0 +1,7 @@ +{{- with site.Params.commentSystem.telegramWidget }} +<script async + src="https://telegram.org/js/telegram-widget.js?19" + data-telegram-discussion="{{ .channel }}" + data-comments-limit="{{ .limit | default 10 }}" + {{ with .accentColor }}data-color="{{ . }}"{{ end }}></script> +{{- end }} |
