Class: Gollum::Macro::SeriesEnd
- Inherits:
-
Series
- Object
- Gollum::Macro
- Series
- Gollum::Macro::SeriesEnd
- 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
#render_links(previous_page, next_page) ⇒ Object
41 42 43 44 |
# File 'lib/gollum-lib/macro/series.rb', line 41 def render_links(previous_page, next_page) result = "Previous: <a href=\"#{CGI::escapeHTML(::File.join(@wiki.base_path,previous_page.escaped_url_path))}\">#{CGI::escapeHTML(previous_page.name)}</a>" if previous_page wrap_result(result) end |