lib/octopress-ink/plugin.rb in octopress-ink-1.0.0.rc.40 vs lib/octopress-ink/plugin.rb in octopress-ink-1.0.0.rc.41

- old
+ new

@@ -190,9 +190,13 @@ def include(file) Pathname.new(@includes.find{|i| i.filename == file }.path) end + def find_page(path) + @pages.find {|page| page.filename == path } + end + private def get_paths(files) files.dup.map { |f| f.path }.compact end