Skip to content

Instantly share code, notes, and snippets.

@joshkerr
Created January 30, 2014 23:05
Show Gist options
  • Save joshkerr/8722031 to your computer and use it in GitHub Desktop.
Save joshkerr/8722031 to your computer and use it in GitHub Desktop.
Outbrain Ghost snippet
<section class="outbrain-footer">
<!-- Outbrain -->
<div data-src="{{url absolute="true"}}" class="OUTBRAIN" ></div>
<script type="text/javascript">(function(){window.OB_platformType=8;window.OB_langJS="http://widgets.outbrain.com/lang_en.js";window.OBITm="1391118134997";window.OB_recMode="brn_box";var ob=document.createElement("script");ob.type="text/javascript";ob.async=true;ob.src="http"+("https:"===document.location.protocol?"s":"")+"://widgets.outbrain.com/outbrainLT.js";var h=document.getElementsByTagName("script")[0];h.parentNode.insertBefore(ob,h);})();</script>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment