Class: Jekyll::Renderer

Inherits:
Object
  • Object
show all
Defined in:
lib/jekyll_relative_urls/jekyll/renderer.rb

Overview

Redefinir Renderer.render_document()

Instance Method Summary collapse

Instance Method Details

#original_render_documentObject



25
# File 'lib/jekyll_relative_urls/jekyll/renderer.rb', line 25

alias original_render_document render_document

#render_documentObject



27
28
29
# File 'lib/jekyll_relative_urls/jekyll/renderer.rb', line 27

def render_document
  relativize_anchors_to original_render_document, document.url
end