diff --git a/src/views/person.11tydata.js b/src/views/person.11tydata.js
index 7789af37b..2b6ee5c21 100644
--- a/src/views/person.11tydata.js
+++ b/src/views/person.11tydata.js
@@ -46,6 +46,12 @@ module.exports = {
return person.data.url.replace(pattern, '')
},
+ telegramId: function (data) {
+ const { person } = data
+ const pattern = new RegExp('^(http|https)://(www.)?t.me/')
+ return person.data.url.replace(pattern, '')
+ },
+
photo: function (data) {
const { person } = data
return person.data.photo
diff --git a/src/views/person.njk b/src/views/person.njk
index 62309365d..3e828a0c4 100644
--- a/src/views/person.njk
+++ b/src/views/person.njk
@@ -5,6 +5,7 @@
{% set behanceRegEx = r/behance.net/g %}
{% set githubRegEx = r/github.com/g %}
{% set twitterRegEx = r/twitter.com/g %}
+{% set telegramRegEx = r/t.me/g %}
{% set behanceIcon %}
{% endset %}
+{% set telegramIcon %}
+
+{% endset %}
+
{% set issuesIcon %}