Sha256: efe0f0d8b51c30832322525477cd7a4d367a658f076ddcc909017ef598b0e76c
Contents?: true
Size: 701 Bytes
Versions: 17
Compression:
Stored size: 701 Bytes
Contents
--- title: News in_menu: true sort_info: 30 --- pipeline:tags,blocks,fragments <h1>News</h1> <a href="{relocatable: news.atom}">Atom-Feed</a> <webgen:block name="newsdata" node="current" /> --- name:newsdata pipeline:erb <% context.content_node.tree.node_access[:alcn].select do |na,no| na =~ /\/news\/.+/ && no.is_file? end.collect {|na,no| no}.sort.reverse.each do |node| context.options['contentprocessor.kramdown.options'] = {:auto_id_prefix => node.lcn.tr('.', '-')} %> <div class='news-item'> <div class="news-date float-right"> Published on <%= node['created_at'].strftime("%A, %d %B %Y") %> </div> <%= context.render_block(:name => 'content', :chain => [node]) %> </div> <% end %>
Version data entries
17 entries across 17 versions & 5 rubygems