From 7763b7dcba95a86c0df6efdef8331a657bea3835 Mon Sep 17 00:00:00 2001 From: Stephan Kulla Date: Tue, 4 Oct 2016 16:32:27 +0200 Subject: [PATCH] about.html: Make avatar chooseable and use relURL (#47) Signed-off-by: Stephan Kulla --- layouts/partials/widgets/about.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/partials/widgets/about.html b/layouts/partials/widgets/about.html index b29d827b..0136c9dc 100644 --- a/layouts/partials/widgets/about.html +++ b/layouts/partials/widgets/about.html @@ -9,9 +9,11 @@
+ {{ with $.Site.Params.avatar }}
+ style="background-image: url('{{ "/img/" | relURL }}{{ . }}');">
+ {{ end }}

{{ $.Site.Params.name }}