mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
Add avatar
setting
This commit is contained in:
parent
e721c992a2
commit
20ece690c8
2 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@ googleAnalytics = ""
|
|||
name = "Lena Smith"
|
||||
role = "Professor of Artificial Intelligence"
|
||||
organization = "Stanford University"
|
||||
avatar = "portrait.jpg"
|
||||
email = "test@example.org"
|
||||
address = "Stanford AI Lab, Stanford University, California, 90210, USA."
|
||||
phone = "888 888 88 88"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="col-xs-12 col-md-4">
|
||||
<div id="profile">
|
||||
|
||||
<div class="portrait" itemprop="image"></div>
|
||||
<div class="portrait" itemprop="image" style="background-image: url('{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}');"></div>
|
||||
|
||||
<div class="portrait-title">
|
||||
<h2 itemprop="name">{{ .Site.Params.name }}</h2>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue