mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-10 08:16:54 +00:00
about.html: Make avatar chooseable and use relURL (#47)
Signed-off-by: Stephan Kulla <git.mail@kulla.me>
This commit is contained in:
1 parent
db9dcf6055
commit
7763b7dcba
1 file changed
+3
-1
@@ -9,9 +9,11 @@
|
||||
<div class="col-xs-12 col-md-4">
|
||||
<div id="profile">
|
||||
|
||||
{{ with $.Site.Params.avatar }}
|
||||
<div class="portrait" itemprop="image"
|
||||
style="background-image: url('{{ $.Site.BaseURL }}img/{{ $.Site.Params.avatar }}');">
|
||||
style="background-image: url('{{ "/img/" | relURL }}{{ . }}');">
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<div class="portrait-title">
|
||||
<h2 itemprop="name">{{ $.Site.Params.name }}</h2>
|
||||
|
||||
Reference in new issue
Block a user