integrate seedanddew
This commit is contained in:
parent
9cfe5c6156
commit
c886831613
|
@ -25,18 +25,21 @@
|
||||||
<article class="article">
|
<article class="article">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
|
|
||||||
<!-- ------------------------------------------------------------------------- -->
|
<!-- Wrapper arround google ads for seedanddew -->
|
||||||
<!-- Google Ads -->
|
<div class='snd-ad'>
|
||||||
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
<!-- ------------------------------------------------------------------------- -->
|
||||||
<!-- Laradock Horizontal -->
|
<!-- Google Ads -->
|
||||||
<ins class="adsbygoogle"
|
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||||
style="display:inline-block;width:890px;height:100px"
|
<!-- Laradock Horizontal -->
|
||||||
data-ad-client="ca-pub-9826129398689742"
|
<ins class="adsbygoogle"
|
||||||
data-ad-slot="2340256024"></ins>
|
style="display:inline-block;width:890px;height:100px"
|
||||||
<script>
|
data-ad-client="ca-pub-9826129398689742"
|
||||||
(adsbygoogle = window.adsbygoogle || []).push({});
|
data-ad-slot="2340256024"></ins>
|
||||||
</script>
|
<script>
|
||||||
<!-- ------------------------------------------------------------------------- -->
|
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||||
|
</script>
|
||||||
|
<!-- ------------------------------------------------------------------------- -->
|
||||||
|
</div>
|
||||||
|
|
||||||
{{ range where .Site.Pages "Type" "index" }}
|
{{ range where .Site.Pages "Type" "index" }}
|
||||||
<h1>{{ .Title }} {{ if .IsDraft }} (Draft){{ end }}</h1>
|
<h1>{{ .Title }} {{ if .IsDraft }} (Draft){{ end }}</h1>
|
||||||
|
|
|
@ -70,6 +70,27 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<script src="{{ "javascripts/modernizr.js" | absURL }}"></script>
|
<script src="{{ "javascripts/modernizr.js" | absURL }}"></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// ------------------------------------------------------------
|
||||||
|
// seedanddew.com integration
|
||||||
|
var SeedAndDewConfig = {};
|
||||||
|
(function() {
|
||||||
|
SeedAndDewConfig['adClass'] = "snd-ad";
|
||||||
|
/* * * DON'T EDIT BELOW THIS LINE * * */
|
||||||
|
SeedAndDewConfig['projectId'] = 'd69f3ea2-1e30-44c7-bd2a-87686c0136e6';
|
||||||
|
SeedAndDewConfig['loadStartTime'] = performance.now();
|
||||||
|
SeedAndDewConfig['apiVersion'] = '2018-05-28'
|
||||||
|
SeedAndDewConfig['sessionId'] = Math.random().toString(36).substring(2, 15);
|
||||||
|
var snd = document.createElement('script');
|
||||||
|
snd.type = 'text/javascript';
|
||||||
|
snd.async = true;
|
||||||
|
snd.src = 'https://www.seedanddew.com/static/embed.min.js';
|
||||||
|
(document.getElementsByTagName('head')[0] ||
|
||||||
|
document.getElementsByTagName('body')[0]).appendChild(snd);
|
||||||
|
})();
|
||||||
|
// ------------------------------------------------------------
|
||||||
|
</script>
|
||||||
|
|
||||||
{{ with .RSSLink }}
|
{{ with .RSSLink }}
|
||||||
<link href="{{ . }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
|
<link href="{{ . }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
|
||||||
<link href="{{ . }}" rel="feed" type="application/rss+xml" title="{{ $.Site.Title }}" />
|
<link href="{{ . }}" rel="feed" type="application/rss+xml" title="{{ $.Site.Title }}" />
|
||||||
|
|
Loading…
Reference in New Issue