From 20ece690c8db2219276e143120da458036f5911a Mon Sep 17 00:00:00 2001 From: George Cushen Date: Mon, 13 Jun 2016 01:36:44 +0100 Subject: [PATCH] Add `avatar` setting --- exampleSite/config.toml | 1 + layouts/partials/home_biography.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index dc3ef3c3..20769e78 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -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" diff --git a/layouts/partials/home_biography.html b/layouts/partials/home_biography.html index fc0e3f67..09a5b7cd 100644 --- a/layouts/partials/home_biography.html +++ b/layouts/partials/home_biography.html @@ -2,7 +2,7 @@
-
+

{{ .Site.Params.name }}