module Inkblot::Pages
Attributes
Public Class Methods
Source
# File lib/inkblot/pages.rb, line 9 def populate(content) self.pages = {} content.entries.each do |f| fm = f.read.front_matter pages[fm["id"] || f.out_path] = { fm: fm, out: f.out_path } end end