Add avatar setting

This commit is contained in:
George Cushen 2016-06-13 01:36:44 +01:00
commit 20ece690c8
2 changed files with 2 additions and 1 deletions

View file

@ -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"

View file

@ -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>