mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
contact widget: Support Telegram (#70)
This commit is contained in:
parent
fbcc2ae87b
commit
bdb68fdf7d
2 changed files with 10 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue