File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ article#article.article(itemscope itemtype="https://schema.org/BlogPosting")
5151
5252 include sharer
5353
54- if theme .liveRe .uid
54+ if theme .liveRe && theme . liveRe .uid
5555 #lv-container ( data-id ="city" , data-uid ="#{theme .liveRe .uid } " )
5656 script .
5757 (function (d , s ) {
Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ section.post-list
4343 .post-list__item__col-1
4444 a.post-list__item__link ( href =url_for (post .path ))
4545 - var banner = bannerOf (post) || theme .default .url ;
46- .post-list__item__link__background ( style ="background-image: url('#{ banner } ')" )
46+ .post-list__item__link__background ( style ={
47+ ' background-image' : ` url('${ banner} ')`
48+ })
4749 .post-list__item__col-2
4850 .post-list__item__meta
4951 if post .categories && post .categories .length
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ block content
1212 .related-posts__item__wrapper
1313 a.related-posts__item ( href =url_for (post .path ))
1414 - var banner = bannerOf (post) || theme .default .url ;
15- .related-posts__item__background ( style ="background-image: url('#{ banner } ')" )
15+ .related-posts__item__background ( style ={
16+ ' background-image' : ` url('${ banner} ')`
17+ })
1618 .related-posts__item__overlay
1719 span.related-posts__item__title = post .title || ' Untitled'
You can’t perform that action at this time.
0 commit comments