diff options
author | Matthew Turk <matthewturk@gmail.com> | 2020-10-20 00:00:35 +0300 |
---|---|---|
committer | Matthew Turk <matthewturk@gmail.com> | 2020-10-20 00:00:35 +0300 |
commit | 6a226b9735d1ce3e4a8c5f3bba236277a63c52ef (patch) | |
tree | 71dc52d263c0dfa88652f0155e38fa7fd86e9f7c | |
parent | b6924ad42743fc5494e37f6f1143902243f63475 (diff) |
Adding relURL to portrait
-rw-r--r-- | layouts/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html index c164a2e..579b593 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,7 +4,7 @@ <div class="layui-container"> <div class="layui-row about"> <div class="layui-col-xs12 layui-col-sm4 layui-col-md4 about_left"> - <img class="lazyload about_portrait" data-src="{{ .Site.Params.portrait | default "self/img/avater.jpg" }}" /> + <img class="lazyload about_portrait" data-src="{{ .Site.Params.portrait | default "/self/img/avater.jpg" | relURL }}" /> <h1> {{ .Site.Params.author | default "Authors"}} </h1> <h2> {{ .Site.Params.description | default "Intro"}} </h2> |