Sha256: 798857097a7937d5d8a9d2ebcc37bb7c143eaab6d85818ee5883df61d3b1830b
Contents?: true
Size: 555 Bytes
Versions: 1
Compression:
Stored size: 555 Bytes
Contents
--- title: <%= title %> created_at: <%= Time.now.to_y %> filter: erb dirty: true --- <h2><%%= h(@page.title) %></h2> <%% articles = @pages.find(:all, :in_directory => @page.dir, :recursive => true, :sort_by => "created_at", :reverse => true) articles.delete(@page) paginate(articles, 10) do |page| -%> <div class="article"> <h1><%%= link_to_page(page) %><span class="date">(<%%= page.created_at.strftime('%Y-%m-%d') %>)</span></h1> <div class="body"> <%%= render(page) %> </div> </div> <%% end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
webby-0.8.4 | data/templates/blog/year.erb |