mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 22:14:08 +00:00
contact widget: Support Telegram (#70)
This commit is contained in:
1 parent
fbcc2ae87b
commit
bdb68fdf7d
2 files changed
+10
No files matched your search
@@ -28,6 +28,7 @@ defaultContentLanguageInSubdir = false
|
||||
office_hours = "Monday 10:00 to 13:00 or email for appointment"
|
||||
phone = "888 888 88 88"
|
||||
skype = "echo123"
|
||||
telegram = ""
|
||||
|
||||
# Enable Keybase in Contact section by entering your keybase.io username.
|
||||
keybase = ""
|
||||
|
||||
@@ -49,6 +49,15 @@
|
||||
</li>
|
||||
{{ end }}
|
||||
|
||||
{{ with $.Site.Params.telegram }}
|
||||
<li>
|
||||
<i class="fa-li fa fa-telegram fa-2x" aria-hidden="true"></i>
|
||||
<span>
|
||||
{{- if $autolink }}<a href="https://telegram.me/{{ . }}" target="_blank">@{{ . }}</a>{{ else }}@{{ . }}{{ end -}}
|
||||
</span>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
||||
{{ with $.Site.Params.address }}
|
||||
<li>
|
||||
<i class="fa-li fa fa-map-marker fa-2x" aria-hidden="true"></i>
|
||||
|
||||
Reference in new issue
Block a user