mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
contact widget: Add office hours and Skype options
This commit is contained in:
parent
c76c5d6270
commit
991a343d48
2 changed files with 19 additions and 1 deletions
|
@ -21,8 +21,10 @@ googleAnalytics = ""
|
|||
organization = "Stanford University"
|
||||
avatar = "portrait.jpg"
|
||||
email = "test@example.org"
|
||||
address = "Stanford AI Lab, Stanford University, California, 90210, USA."
|
||||
address = "Building 1 Room 1, Stanford University, California, 90210, USA"
|
||||
office_hours = "Monday 10:00 to 13:00 or email for appointment"
|
||||
phone = "888 888 88 88"
|
||||
skype = "echo123"
|
||||
|
||||
# Enable Keybase in Contact section by entering your keybase.io username.
|
||||
keybase = ""
|
||||
|
|
|
@ -40,6 +40,15 @@
|
|||
</li>
|
||||
{{ end }}
|
||||
|
||||
{{ with $.Site.Params.skype }}
|
||||
<li>
|
||||
<i class="fa-li fa fa-skype fa-2x" aria-hidden="true"></i>
|
||||
<span>
|
||||
{{- if $autolink }}<a href="skype:{{ . }}?call">{{ . }}</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>
|
||||
|
@ -47,6 +56,13 @@
|
|||
</li>
|
||||
{{ end }}
|
||||
|
||||
{{ with $.Site.Params.office_hours }}
|
||||
<li>
|
||||
<i class="fa-li fa fa-clock-o fa-2x" aria-hidden="true"></i>
|
||||
<span>{{ . }}</span>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue