Create a gist now

Instantly share code, notes, and snippets.

!!! XML
%gallery
%album{:lgpath => "#{locals[:baseurl]}", :title => locals[:title], :tnpath => "#{locals[:thumburl]}"}
- (2..locals[:max]).each do |n|
%img{:src => "#{locals[:slug]}%03d.jpg#full" % n}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment