Skip to content

Commit e73fefe

Browse files
committed
Add Adsense to demo site
1 parent 81dae26 commit e73fefe

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed

docs/_layouts/default.html

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<!DOCTYPE html>
2+
<!--
3+
Basically Basic Jekyll Theme 1.4.4
4+
Copyright 2017-2018 Michael Rose - mademistakes.com | @mmistakes
5+
Free for personal and commercial use under the MIT license
6+
https://github.com/mmistakes/jekyll-theme-basically-basic/blob/master/LICENSE
7+
-->
8+
<html lang="{{ page.lang | default: site.lang | default: 'en-US' }}" class="no-js">
9+
{% include head.html %}
10+
11+
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %} {{ page.title | slugify }}">
12+
13+
{% include skip-links.html %}
14+
15+
<div class="sidebar-toggle-wrapper">
16+
{% if site.search %}
17+
<button class="search-toggle" type="button">
18+
<svg class="icon" width="16" height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.99 16">
19+
<title>{{ site.data.theme.t.search | default: 'Search' }}</title>
20+
<path d="M15.5,13.12L13.19,10.8a1.69,1.69,0,0,0-1.28-.55l-0.06-.06A6.5,6.5,0,0,0,5.77,0,6.5,6.5,0,0,0,2.46,11.59a6.47,6.47,0,0,0,7.74.26l0.05,0.05a1.65,1.65,0,0,0,.5,1.24l2.38,2.38A1.68,1.68,0,0,0,15.5,13.12ZM6.4,2A4.41,4.41,0,1,1,2,6.4,4.43,4.43,0,0,1,6.4,2Z" transform="translate(-.01)"></path>
21+
</svg>
22+
</button>
23+
{% endif %}
24+
25+
<button class="toggle navicon-button larr" type="button">
26+
<span class="toggle-inner">
27+
<span class="sidebar-toggle-label visually-hidden">{{ site.data.theme.t.menu | default: 'Menu' }}</span>
28+
<span class="navicon"></span>
29+
</span>
30+
</button>
31+
</div>
32+
33+
<div id="sidebar" class="sidebar">
34+
<div class="inner">
35+
{% include navigation.html %}
36+
{% include contact-list.html %}
37+
</div>
38+
</div>
39+
40+
<div class="canvas">
41+
<div class="wrapper">
42+
{% include masthead.html %}
43+
<div class="initial-content">
44+
{{ content }}
45+
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
46+
<div align="center" style="margin: 1em 0;">
47+
<ins class="adsbygoogle"
48+
style="display:block; border-bottom: initial;"
49+
data-ad-client="ca-pub-7328585512091257"
50+
data-ad-slot="3049671934"
51+
data-ad-format="auto"></ins>
52+
</div>
53+
<script>
54+
(adsbygoogle = window.adsbygoogle || []).push({});
55+
</script>
56+
</div>
57+
58+
<div class="search-content">
59+
{% include search-form.html %}
60+
</div>
61+
</div>
62+
</div>
63+
64+
{% include footer.html %}
65+
{% include scripts.html %}
66+
67+
</body>
68+
69+
</html>

0 commit comments

Comments
 (0)