Class: Gollum::Macro::SeriesStart

Inherits:
Series show all
Defined in:
lib/gollum-lib/macro/series.rb

Instance Method Summary collapse

Methods inherited from Series

#find_series, #render, #wrap_result

Methods inherited from Gollum::Macro

#initialize, instance, #render

Constructor Details

This class inherits a constructor from Gollum::Macro

Instance Method Details



34
35
36
37
# File 'lib/gollum-lib/macro/series.rb', line 34

def render_links(previous_page, next_page)
  result = "Next: <a href=\"#{CGI::escapeHTML(::File.join(@wiki.base_path,next_page.escaped_url_path))}\">#{CGI::escapeHTML(next_page.name)}</a>" if next_page
  wrap_result(result)
end