Class: Middleman::PlaintextExtension

Inherits:
Extension
  • Object
show all
Defined in:
lib/middleman-plaintext/extension.rb

Instance Method Summary collapse

Instance Method Details

#manipulate_resource_list(resources) ⇒ Object

A Sitemap Manipulator



16
17
18
# File 'lib/middleman-plaintext/extension.rb', line 16

def manipulate_resource_list(resources)
  resources | resources.select(&method(:handled_by_us?)).map(&method(:textify))
end