Mobile slots now within htmlSafe
This commit is contained in:
parent
3ef8699900
commit
c566f0c71d
|
@ -1,21 +1,20 @@
|
|||
<div class="google-dfp-ad-label"><h2>Google Ad Plugin Display</h2></div>
|
||||
|
||||
{{#if site.mobileView}}
|
||||
|
||||
<div id={{divId}} style={{adWrapperStyleMobile}} class="dfp-ad-unit" align=center>
|
||||
{{#if loadedGoogletag}}
|
||||
<script type='text/javascript'>
|
||||
googletag.cmd.push(function() { googletag.display('{{divId}}'); });
|
||||
</script>
|
||||
{{#if site.mobileView}}
|
||||
{{#if loadedGoogletag}}
|
||||
<div id={{divId}} style={{adWrapperStyleMobile}} class="dfp-ad-unit" align=center>
|
||||
<script type='text/javascript'>
|
||||
googletag.cmd.push(function() { googletag.display('{{divId}}'); });
|
||||
</script>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{else}}
|
||||
|
||||
<div id={{divId}} style={{adWrapperStyle}} class="dfp-ad-unit" align=center>
|
||||
{{#if loadedGoogletag}}
|
||||
<script type='text/javascript'>
|
||||
googletag.cmd.push(function() { googletag.display('{{divId}}'); });
|
||||
</script>
|
||||
|
||||
{{/if}}
|
||||
|
||||
</div>
|
||||
{{#if loadedGoogletag}}
|
||||
<div id={{divId}} style={{adWrapperStyle}} class="dfp-ad-unit" align=center>
|
||||
<script type='text/javascript'>
|
||||
googletag.cmd.push(function() { googletag.display('{{divId}}'); });
|
||||
</script>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
Loading…
Reference in New Issue