2010-07-22 00:18:14 +00:00
|
|
|
module Locomotive
|
|
|
|
module Liquid
|
|
|
|
module Drops
|
2010-07-21 23:35:30 +00:00
|
|
|
class Site < Base
|
2010-07-22 00:18:14 +00:00
|
|
|
|
2010-07-21 23:35:30 +00:00
|
|
|
liquid_attributes << :name << :meta_keywords << :meta_description
|
2010-07-22 00:18:14 +00:00
|
|
|
|
2010-07-21 23:35:30 +00:00
|
|
|
def index
|
2011-01-27 09:49:42 +00:00
|
|
|
@index ||= @source.pages.root.first
|
2010-07-21 23:35:30 +00:00
|
|
|
end
|
2010-07-22 00:18:14 +00:00
|
|
|
|
2010-07-21 23:35:30 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2010-07-23 20:09:54 +00:00
|
|
|
end
|