Skip to content

Instantly share code, notes, and snippets.

@pmichaeljones
Created January 29, 2018 15:25
Show Gist options
  • Save pmichaeljones/330dda9b58338366179dde9172ee5a72 to your computer and use it in GitHub Desktop.
Save pmichaeljones/330dda9b58338366179dde9172ee5a72 to your computer and use it in GitHub Desktop.
.row
- @pets.each_with_index do |pet, index|
- index = index += 1
- if index % 7 == 0
.small-12.medium-4.large-3.columns
.panel.card-style.centered
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Pet Page -->
<ins class="adsbygoogle"
style="display:inline-block;width:250px;height:250px"
data-ad-client="ca-pub-55555555"
data-ad-slot="55555"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment