feat(comment): add Telegram Comments support (#180)
This commit is contained in:
@@ -249,6 +249,16 @@ enableEmoji = true
|
||||
numPosts = 10
|
||||
appId = ""
|
||||
languageCode = "en_US"
|
||||
# Telegram Comments Config (https://comments.app/)
|
||||
[languages.en.params.comment.telegram]
|
||||
enable = false
|
||||
siteID = ""
|
||||
limit = 5
|
||||
height = ""
|
||||
color = ""
|
||||
colorful = true
|
||||
dislikes = false
|
||||
outlined = false
|
||||
|
||||
[languages.zh-cn]
|
||||
weight = 2
|
||||
@@ -473,6 +483,16 @@ enableEmoji = true
|
||||
numPosts = 10
|
||||
appId = ""
|
||||
languageCode = "zh_CN"
|
||||
# Telegram Comments 评论系统设置 (https://comments.app/)
|
||||
[languages.zh-cn.params.comment.telegram]
|
||||
enable = false
|
||||
siteID = ""
|
||||
limit = 5
|
||||
height = ""
|
||||
color = ""
|
||||
colorful = true
|
||||
dislikes = false
|
||||
outlined = false
|
||||
|
||||
[languages.fr]
|
||||
weight = 3
|
||||
@@ -534,169 +554,179 @@ enableEmoji = true
|
||||
url = "https://github.com/dillonzq/LoveIt"
|
||||
title = "GitHub"
|
||||
weight = 6
|
||||
[languages.fr.params]
|
||||
# site description
|
||||
description = "À propos du thème LoveIt"
|
||||
# site keywords
|
||||
keywords = ["Thème", "Hugo"]
|
||||
# site default theme ("light", "dark", "auto")
|
||||
defaultTheme = "auto"
|
||||
# Home Page Info
|
||||
[languages.fr.params.home]
|
||||
# Home Page Profile
|
||||
[languages.fr.params.home.profile]
|
||||
enable = true
|
||||
# Gravatar Email for preferred avatar in home page
|
||||
gravatarEmail = ""
|
||||
# URL of avatar shown in home page
|
||||
avatarURL = "/images/avatar.png"
|
||||
# subtitle shown in home page
|
||||
subtitle = "Un thème Hugo simple, élégant et efficace"
|
||||
# whether to use typeit animation for subtitle
|
||||
typeit = true
|
||||
# whether to show social links
|
||||
social = true
|
||||
# disclaimer (HTML format is allowed)
|
||||
disclaimer = ""
|
||||
# Home Page Posts
|
||||
[languages.fr.params.home.posts]
|
||||
enable = true
|
||||
# special amount of posts in each home posts page
|
||||
paginate = 6
|
||||
# default behavior when you don't set "hiddenFromHomePage" in front matter
|
||||
defaultHiddenFromHomePage = false
|
||||
# Social Info in home page
|
||||
[languages.fr.params.social]
|
||||
GitHub = "xxxx"
|
||||
Linkedin = "xxxx"
|
||||
Twitter = "xxxx"
|
||||
Instagram = "xxxx"
|
||||
Email = "xxxx@xxxx.com"
|
||||
Facebook = "xxxx"
|
||||
Telegram = "xxxx"
|
||||
# Medium = "xxxx"
|
||||
# Gitlab = "xxxx"
|
||||
Youtubelegacy = "xxxx"
|
||||
# Youtubecustom = "xxxx"
|
||||
# Youtubechannel = "xxxx"
|
||||
# Tumblr ="xxxx"
|
||||
# Quora = "xxxx"
|
||||
# Keybase = "xxxx"
|
||||
# Pinterest = "xxxx"
|
||||
# Reddit = "xxxx"
|
||||
# Codepen = "xxxx"
|
||||
# FreeCodeCamp = "xxxx"
|
||||
# Bitbucket = "xxxx"
|
||||
# Stackoverflow = "xxxx"
|
||||
# Weibo = "xxxx"
|
||||
# Odnoklassniki = "xxxx"
|
||||
# VK = "xxxx"
|
||||
# Flickr = "xxxx"
|
||||
# Xing = "xxxx"
|
||||
# Snapchat = "xxxx"
|
||||
# Soundcloud = "xxxx"
|
||||
# Spotify = "xxxx"
|
||||
# Bandcamp = "xxxx"
|
||||
# Paypal = "xxxx"
|
||||
# Fivehundredpx = "xxxx"
|
||||
# Mix = "xxxx"
|
||||
# Goodreads = "xxxx"
|
||||
# Lastfm = "xxxx"
|
||||
# Foursquare = "xxxx"
|
||||
# Hackernews = "xxxx"
|
||||
# Kickstarter = "xxxx"
|
||||
# Patreon = "xxxx"
|
||||
# Steam = "xxxx"
|
||||
# Twitch = "xxxx"
|
||||
# Strava = "xxxx"
|
||||
# Skype = "xxxx"
|
||||
# Whatsapp = "xxxx"
|
||||
# Zhihu = "xxxx"
|
||||
# Douban = "xxxx"
|
||||
# Angellist = "xxxx"
|
||||
# Slidershare = "xxxx"
|
||||
# Jsfiddle = "xxxx"
|
||||
# Deviantart = "xxxx"
|
||||
# Behance = "xxxx"
|
||||
# Dribble = "xxxx"
|
||||
# Wordpress = "xxxx"
|
||||
# Vine = "xxxx"
|
||||
# Googlescholar = "xxxx"
|
||||
# Researchgate = "xxxx"
|
||||
# Mastodon = "xxxx"
|
||||
# MastodonPrefix = "https://mastodon.technology/"
|
||||
# Thingiverse = "xxxx"
|
||||
# Devto = "xxxx"
|
||||
# Gitea = "xxxx"
|
||||
# XMPP = "xxxx"
|
||||
# Matrix = "xxxx"
|
||||
# Bilibili = "xxxx"
|
||||
# Social Share Links in post page
|
||||
[languages.fr.params.share]
|
||||
[languages.fr.params]
|
||||
# site description
|
||||
description = "À propos du thème LoveIt"
|
||||
# site keywords
|
||||
keywords = ["Thème", "Hugo"]
|
||||
# site default theme ("light", "dark", "auto")
|
||||
defaultTheme = "auto"
|
||||
# Home Page Info
|
||||
[languages.fr.params.home]
|
||||
# Home Page Profile
|
||||
[languages.fr.params.home.profile]
|
||||
enable = true
|
||||
Twitter = true
|
||||
Facebook = true
|
||||
Linkedin = true
|
||||
Whatsapp = true
|
||||
Pinterest = true
|
||||
# Tumblr = true
|
||||
HackerNews = true
|
||||
# Reddit = true
|
||||
# VK = true
|
||||
# Buffer = true
|
||||
# Xing = true
|
||||
# Line = true
|
||||
# Instapaper = true
|
||||
# Pocket = true
|
||||
# Digg = true
|
||||
# Stumbleupon = true
|
||||
# Flipboard = true
|
||||
# Weibo = true
|
||||
# Renren = true
|
||||
# Myspace = true
|
||||
# Blogger = true
|
||||
# Baidu = true
|
||||
# Odnoklassniki = true
|
||||
# Evernote = true
|
||||
# Skype = true
|
||||
# Trello = true
|
||||
# Mix = true
|
||||
# Comment Config
|
||||
[languages.fr.params.comment]
|
||||
# Gravatar Email for preferred avatar in home page
|
||||
gravatarEmail = ""
|
||||
# URL of avatar shown in home page
|
||||
avatarURL = "/images/avatar.png"
|
||||
# subtitle shown in home page
|
||||
subtitle = "Un thème Hugo simple, élégant et efficace"
|
||||
# whether to use typeit animation for subtitle
|
||||
typeit = true
|
||||
# whether to show social links
|
||||
social = true
|
||||
# disclaimer (HTML format is allowed)
|
||||
disclaimer = ""
|
||||
# Home Page Posts
|
||||
[languages.fr.params.home.posts]
|
||||
enable = true
|
||||
# Disqus Comment Config (https://disqus.com/)
|
||||
[languages.fr.params.comment.disqus]
|
||||
enable = false
|
||||
# Disqus shortname to use Disqus in posts
|
||||
shortname = ""
|
||||
# Gitalk Comment Config (https://github.com/gitalk/gitalk)
|
||||
[languages.fr.params.comment.gitalk]
|
||||
enable = false
|
||||
owner = ""
|
||||
repo = ""
|
||||
clientId = ""
|
||||
clientSecret = ""
|
||||
# Valine Comment Config (https://github.com/xCss/Valine)
|
||||
[languages.fr.params.comment.valine]
|
||||
enable = true
|
||||
appId = "QGzwQXOqs5JOhN4RGPOkR2mR-MdYXbMMI"
|
||||
appKey = "WBmoGyJtbqUswvfLh6L8iEBr"
|
||||
placeholder = "Votre commentaire ..."
|
||||
notify = false
|
||||
verify = true
|
||||
avatar = "mp"
|
||||
meta= ""
|
||||
pageSize = 10
|
||||
lang = "en"
|
||||
visitor = true
|
||||
recordIP = true
|
||||
# Facebook Comment Config (https://developers.facebook.com/docs/plugins/comments)
|
||||
[languages.fr.params.comment.facebook]
|
||||
enable = false
|
||||
width = "100%"
|
||||
numPosts = 10
|
||||
appId = ""
|
||||
languageCode = "fr"
|
||||
# special amount of posts in each home posts page
|
||||
paginate = 6
|
||||
# default behavior when you don't set "hiddenFromHomePage" in front matter
|
||||
defaultHiddenFromHomePage = false
|
||||
# Social Info in home page
|
||||
[languages.fr.params.social]
|
||||
GitHub = "xxxx"
|
||||
Linkedin = "xxxx"
|
||||
Twitter = "xxxx"
|
||||
Instagram = "xxxx"
|
||||
Email = "xxxx@xxxx.com"
|
||||
Facebook = "xxxx"
|
||||
Telegram = "xxxx"
|
||||
# Medium = "xxxx"
|
||||
# Gitlab = "xxxx"
|
||||
Youtubelegacy = "xxxx"
|
||||
# Youtubecustom = "xxxx"
|
||||
# Youtubechannel = "xxxx"
|
||||
# Tumblr ="xxxx"
|
||||
# Quora = "xxxx"
|
||||
# Keybase = "xxxx"
|
||||
# Pinterest = "xxxx"
|
||||
# Reddit = "xxxx"
|
||||
# Codepen = "xxxx"
|
||||
# FreeCodeCamp = "xxxx"
|
||||
# Bitbucket = "xxxx"
|
||||
# Stackoverflow = "xxxx"
|
||||
# Weibo = "xxxx"
|
||||
# Odnoklassniki = "xxxx"
|
||||
# VK = "xxxx"
|
||||
# Flickr = "xxxx"
|
||||
# Xing = "xxxx"
|
||||
# Snapchat = "xxxx"
|
||||
# Soundcloud = "xxxx"
|
||||
# Spotify = "xxxx"
|
||||
# Bandcamp = "xxxx"
|
||||
# Paypal = "xxxx"
|
||||
# Fivehundredpx = "xxxx"
|
||||
# Mix = "xxxx"
|
||||
# Goodreads = "xxxx"
|
||||
# Lastfm = "xxxx"
|
||||
# Foursquare = "xxxx"
|
||||
# Hackernews = "xxxx"
|
||||
# Kickstarter = "xxxx"
|
||||
# Patreon = "xxxx"
|
||||
# Steam = "xxxx"
|
||||
# Twitch = "xxxx"
|
||||
# Strava = "xxxx"
|
||||
# Skype = "xxxx"
|
||||
# Whatsapp = "xxxx"
|
||||
# Zhihu = "xxxx"
|
||||
# Douban = "xxxx"
|
||||
# Angellist = "xxxx"
|
||||
# Slidershare = "xxxx"
|
||||
# Jsfiddle = "xxxx"
|
||||
# Deviantart = "xxxx"
|
||||
# Behance = "xxxx"
|
||||
# Dribble = "xxxx"
|
||||
# Wordpress = "xxxx"
|
||||
# Vine = "xxxx"
|
||||
# Googlescholar = "xxxx"
|
||||
# Researchgate = "xxxx"
|
||||
# Mastodon = "xxxx"
|
||||
# MastodonPrefix = "https://mastodon.technology/"
|
||||
# Thingiverse = "xxxx"
|
||||
# Devto = "xxxx"
|
||||
# Gitea = "xxxx"
|
||||
# XMPP = "xxxx"
|
||||
# Matrix = "xxxx"
|
||||
# Bilibili = "xxxx"
|
||||
# Social Share Links in post page
|
||||
[languages.fr.params.share]
|
||||
enable = true
|
||||
Twitter = true
|
||||
Facebook = true
|
||||
Linkedin = true
|
||||
Whatsapp = true
|
||||
Pinterest = true
|
||||
# Tumblr = true
|
||||
HackerNews = true
|
||||
# Reddit = true
|
||||
# VK = true
|
||||
# Buffer = true
|
||||
# Xing = true
|
||||
# Line = true
|
||||
# Instapaper = true
|
||||
# Pocket = true
|
||||
# Digg = true
|
||||
# Stumbleupon = true
|
||||
# Flipboard = true
|
||||
# Weibo = true
|
||||
# Renren = true
|
||||
# Myspace = true
|
||||
# Blogger = true
|
||||
# Baidu = true
|
||||
# Odnoklassniki = true
|
||||
# Evernote = true
|
||||
# Skype = true
|
||||
# Trello = true
|
||||
# Mix = true
|
||||
# Comment Config
|
||||
[languages.fr.params.comment]
|
||||
enable = true
|
||||
# Disqus Comment Config (https://disqus.com/)
|
||||
[languages.fr.params.comment.disqus]
|
||||
enable = false
|
||||
# Disqus shortname to use Disqus in posts
|
||||
shortname = ""
|
||||
# Gitalk Comment Config (https://github.com/gitalk/gitalk)
|
||||
[languages.fr.params.comment.gitalk]
|
||||
enable = false
|
||||
owner = ""
|
||||
repo = ""
|
||||
clientId = ""
|
||||
clientSecret = ""
|
||||
# Valine Comment Config (https://github.com/xCss/Valine)
|
||||
[languages.fr.params.comment.valine]
|
||||
enable = true
|
||||
appId = "QGzwQXOqs5JOhN4RGPOkR2mR-MdYXbMMI"
|
||||
appKey = "WBmoGyJtbqUswvfLh6L8iEBr"
|
||||
placeholder = "Votre commentaire ..."
|
||||
notify = false
|
||||
verify = true
|
||||
avatar = "mp"
|
||||
meta= ""
|
||||
pageSize = 10
|
||||
lang = "en"
|
||||
visitor = true
|
||||
recordIP = true
|
||||
# Facebook Comment Config (https://developers.facebook.com/docs/plugins/comments)
|
||||
[languages.fr.params.comment.facebook]
|
||||
enable = false
|
||||
width = "100%"
|
||||
numPosts = 10
|
||||
appId = ""
|
||||
languageCode = "fr"
|
||||
# Telegram Comments Config (https://comments.app/)
|
||||
[languages.fr.params.comment.telegram]
|
||||
enable = false
|
||||
siteID = ""
|
||||
limit = 5
|
||||
height = ""
|
||||
color = ""
|
||||
colorful = true
|
||||
dislikes = false
|
||||
outlined = false
|
||||
|
||||
[params]
|
||||
# LoveIt theme version
|
||||
|
||||
Reference in New Issue
Block a user