feat: add img tag of banner for SEO

This commit is contained in:
jeffreytse 2021-06-17 20:44:37 +08:00
parent cae6e2e549
commit 6b5857a215
2 changed files with 5 additions and 0 deletions

View file

@ -32,6 +32,7 @@
<section class="page-banner">
<div class="page-banner-img">
<div style="background-image: url({{ banner_image }})"></div>
<img class="img-placeholder" src="{{ banner_image }}"></div>
</div>
<div class="wrapper">
<div class="page-banner-inner">

View file

@ -570,6 +570,10 @@ html {
@include center-image;
transition: 0.1s all ease-in-out;
}
& > img.img-placeholder {
display: none;
}
}
.wrapper {