Skip to content

Commit

Permalink
Remove ads
Browse files Browse the repository at this point in the history
  • Loading branch information
larsenv committed Oct 28, 2017
1 parent 24aa4f2 commit 92f2268
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 48 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
@@ -0,0 +1,13 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false

[*.md]
trim_trailing_whitespace = false
5 changes: 5 additions & 0 deletions .gitattributes
@@ -0,0 +1,5 @@
_assets/css/vendor/* linguist-vendored
_assets/js/plugins/* linguist-vendored
_assets/js/vendor/* linguist-vendored
assets/fonts/* linguist-vendored
assets/js/vendor/* linguist-vendored
49 changes: 1 addition & 48 deletions _layouts/splash.html
Expand Up @@ -8,14 +8,6 @@
{% include page__hero_video.html %}
{% endif %}

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6670011780914577",
enable_page_level_ads: true
});
</script>

<div id="main" role="main">
<article class="splash" itemscope itemtype="http://schema.org/CreativeWork">
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
Expand All @@ -25,7 +17,7 @@

<section class="page__content" itemprop="text">
<hr>

{% assign split_path = page.path | split: "/" %}
{% assign locale = split_path[1] %}

Expand All @@ -38,47 +30,8 @@
<div class ="notice"><b>{{ link.title }}</b></div>
{% endfor %}

<hr>

<center>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-6670011780914577"
data-ad-slot="2889110246"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>

<hr>

{{ content }}
</section>
</article>

<hr>

<center>
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-6670011780914577"
data-ad-slot="7670623049"
data-ad-format="horizontal">
</ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-6670011780914577"
data-ad-slot="9147356245"
data-ad-format="horizontal">
</ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>

</div>

0 comments on commit 92f2268

Please sign in to comment.