Sha256: f9a071d9a8638a75ced30dfdd9a712a410843bacc4baa6895c99ee1eff929e4f

Contents?: true

Size: 864 Bytes

Versions: 102

Compression:

Stored size: 864 Bytes

Contents

---
title: News
in_menu: false
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
<%
opts = {:alcn => '/news/*.html', :sort => 'sort_info', :reverse => true, :flatten => true}
context.website.ext.item_tracker.add(context.dest_node, :nodes, :node_finder_option_set,
  {:opts => opts, :ref_alcn => context.node.alcn}, :content)
context.website.ext.node_finder.find(opts, context.node).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

102 entries across 98 versions & 21 rubygems

Version Path
logstash-output-scalyr-0.2.1.beta vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.2.0 vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.2.0.beta vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.1.26.beta vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.1.25.beta vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.1.24.beta vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.1.23.beta vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.1.22.beta vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.1.21.beta vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.1.20.beta vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.1.19.beta vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.1.18.beta vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.1.17.beta vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.1.16.beta vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.1.15.beta vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.1.14.beta vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.1.13 vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.1.12 vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.1.11.beta vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page
logstash-output-scalyr-0.1.10.beta vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/doc/news.page