Skip to content

Instantly share code, notes, and snippets.

@prefork
Created December 20, 2010 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prefork/748965 to your computer and use it in GitHub Desktop.
Save prefork/748965 to your computer and use it in GitHub Desktop.
!!! 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