Skip to content

Commit c43d25c

Browse files
committed
update strikingly link
1 parent 6eac57b commit c43d25c

File tree

4 files changed

+9
-18
lines changed

4 files changed

+9
-18
lines changed

themes/vue/layout/index.ejs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,7 @@
3737
<div class="down"><img src="/images/down.png"></div>
3838
</div>
3939

40-
<div id="ad">
41-
<a href="https://strikingly.com" target="_blank">
42-
<span>Proudly sponsored by</span><br>
43-
<img src="/images/strikingly.png">
44-
</a>
45-
</div>
40+
<%- partial('partials/ad') %>
4641

4742
<div id="example">
4843
<h2>10 Second Example</h2>

themes/vue/layout/page.ejs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@
22
<%- partial('partials/sidebar', { type: page.type, index: page.index }) %>
33
<% } %>
44
<div class="content <%- page.type ? page.type + ' with-sidebar' : '' %>">
5-
<div id="ad" style="width:140px">
6-
<a href="https://strikingly.com" target="_blank">
7-
<span>Proudly sponsored by</span><br>
8-
<img src="/images/strikingly.png">
9-
</a>
10-
</div>
5+
<%- partial('partials/ad') %>
116
<h1><%- page.title %><%- page.type === 'examples' ? ' Example' : '' %></h1>
127
<%- page.content %>
138
<% if (page.type === 'guide') { %>

themes/vue/layout/partials/ad.ejs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<div id="ad" style="width:140px">
2+
<a href="https://strikingly.com/s/careers?utm_source=v" target="_blank">
3+
<span>Proudly sponsored by</span><br>
4+
<img src="/images/strikingly.png">
5+
</a>
6+
</div>

themes/vue/layout/post.ejs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,7 @@
1919
</div>
2020
</div>
2121
<div class="content blog post">
22-
<div id="ad" style="width:140px">
23-
<a href="https://strikingly.com" target="_blank">
24-
<span>Proudly sponsored by</span><br>
25-
<img src="/images/strikingly.png">
26-
</a>
27-
</div>
22+
<%- partial('partials/ad') %>
2823
<h1><%- page.title %></h1>
2924
<h4><%- page.date.format('MMM D[,] YYYY') %></h4>
3025
<%- page.content %>

0 commit comments

Comments
 (0)