mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 20:15:25 +00:00
contact widget: Add office hours and Skype options
This commit is contained in:
1 parent
c76c5d6270
commit
991a343d48
2 files changed
+19
-1
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user