diff --git a/themes/vue/layout/layout.ejs b/themes/vue/layout/layout.ejs index 4ceddf1b83..bce9bcd34e 100644 --- a/themes/vue/layout/layout.ejs +++ b/themes/vue/layout/layout.ejs @@ -1,5 +1,6 @@ <% var isIndex = page.path === 'index.html' %> <% var isThemes = page.path === 'resources/themes.html' %> +<% var hasBtsBanner = true %> @@ -91,13 +92,10 @@
> - + - <% if (isIndex) { %> - #BlackLivesMatter - <% } %>
- <%- partial('partials/header') %> + <%- partial('partials/header', { hasBtsBanner }) %> <% if (!isIndex) { %>
<%- body %> diff --git a/themes/vue/layout/partials/header.ejs b/themes/vue/layout/partials/header.ejs index 9cdb572c4e..af1ee0d777 100644 --- a/themes/vue/layout/partials/header.ejs +++ b/themes/vue/layout/partials/header.ejs @@ -1,9 +1,25 @@
- <% if (page.path === 'index.html') { %> -
- #BlackLivesMatter - Support the Equal Justice Initiative. -
+ <% if (hasBtsBanner) { %> + +
+ +
+
+
+ Master Vue.js with Vue School. + 3 months only $49! $75 +
+
+ Offer expires 13th September 2020 +
+
+
+
GET 30% OFF
+
+
+ × +
+
<% } %>