Skip to content

Commit

Permalink
修复栏栅图片路径引用
Browse files Browse the repository at this point in the history
  • Loading branch information
cellargalaxy committed Nov 19, 2023
1 parent d5cec62 commit 91cad0e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion layout/_partials/header/banner.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var banner_mask_alpha = parseFloat(page.banner_mask_alpha || theme.index.banner_
var subtitle = page.subtitle || page.title
%>

<div id="banner" class="banner fence" <%- theme.banner && theme.banner.parallax && 'parallax=true' %>
<div id="banner" class="banner fence" style="background-image: url('<%- url_for('/img/fence.svg') %>')" <%- theme.banner && theme.banner.parallax && 'parallax=true' %>
>
<div class="full-bg-img">
<div class="mask flex-center" style="background-color: rgba(0, 0, 0, <%= parseFloat(banner_mask_alpha) %>)">
Expand Down
1 change: 0 additions & 1 deletion source/css/_pages/_base/base.styl
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,3 @@ i.iconfont
background-repeat: repeat
background-size: auto
background-attachment: fixed
background-image: url('/img/fence.svg')

0 comments on commit 91cad0e

Please sign in to comment.