Skip to content

Commit

Permalink
Squashed 'template/pages/' changes from bb42fb83..93886199
Browse files Browse the repository at this point in the history
93886199 Update with ecomplus/storefront@3545dff
ac596874 Update with ecomplus/storefront@98f6664

git-subtree-dir: template/pages
git-subtree-split: 938861999d0318a5eb66558ef14513e640ee9cad
  • Loading branch information
actions-user committed Oct 13, 2023
1 parent ff2375a commit de89325
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion @/head.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if (maintenance.active) {
})
}
</script>
<link rel="stylesheet" type="text/css" href="/storefront.css">
<link rel="stylesheet" type="text/css" href="<%= _.assetsPrefix || '' %>/storefront.css">

<%
// inject custom code
Expand Down
4 changes: 2 additions & 2 deletions @/meta.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ if (pathname) {
<% } %>

<% if (!path.startsWith('/admin/')) { %>
<link rel="preload" href="/storefront.css" as="style">
<link rel="preload" href="<%= _.assetsPrefix || '' %>/storefront.css" as="style">
<% if (!path.startsWith('/app/')) { %>
<link rel="preload" href="/storefront.js" as="script">
<link rel="preload" href="<%= _.assetsPrefix || '' %>/storefront.js" as="script">
<% } %>
<%
Expand Down
2 changes: 1 addition & 1 deletion @/sections/inc/banner.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if (opt.img) {
>
<% sources.forEach(({ src, media, type, width, height }) => { %>
<source
srcset="<%= src %>"
srcset="<%= _.assetsPrefix || '' %><%= src %>"
media="<%- media %>"
<% if (type) { %>
type="<%- type %>"
Expand Down

0 comments on commit de89325

Please sign in to comment.