Skip to content

Instantly share code, notes, and snippets.

@thejonanshow
Created February 8, 2011 23:57
Show Gist options
  • Save thejonanshow/817569 to your computer and use it in GitHub Desktop.
Save thejonanshow/817569 to your computer and use it in GitHub Desktop.
<% gallery_li_class = defaults[:gallery_li_class] || "" %>
139 <% gallery_li_class << ' first' if defaults[:photos].first? %>
140 <% gallery_li_class << ' last' if defaults[:photos].last? %>
@j3j3
Copy link

j3j3 commented May 16, 2012

What an amazing gist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment