diff options
author | jeffreytse <jeffreytse.mail@gmail.com> | 2020-08-31 17:16:31 +0800 |
---|---|---|
committer | jeffreytse <jeffreytse.mail@gmail.com> | 2020-08-31 17:16:31 +0800 |
commit | 690e71acfcb688259f45e9f8f3e5e3ada41a4c0e (patch) | |
tree | 28798a57d964204a9172125a93da642c2505bef5 /_includes/views/banner.html | |
parent | 3b04c2870a7cf473f5070a435d9d828414d4db82 (diff) |
fix: wrong relative banner url
Diffstat (limited to '_includes/views/banner.html')
-rw-r--r-- | _includes/views/banner.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/views/banner.html b/_includes/views/banner.html index 76e35a6..a6b503f 100644 --- a/_includes/views/banner.html +++ b/_includes/views/banner.html @@ -21,7 +21,7 @@ {% if banner %} <section class="page-banner"> <div class="page-banner-img"> - <div style="background-image: url({{ banner }})"></div> + <div style="background-image: url({{ banner | relative_url }})"></div> </div> <div class="wrapper"> <div class="page-banner-inner"> |