Sha256: 0921610549ac8c64ca54cbb4199b091e1c55f7a2598d191d49b9ee2d2dc02123
Contents?: true
Size: 423 Bytes
Versions: 20
Compression:
Stored size: 423 Bytes
Contents
module Smithy class Site include Singleton cattr_accessor :title class << self def title @@title end def title=(str) @@title = str end end def title self.class.title end def root @root ||= Smithy::Page.root end def to_liquid { 'title' => self.title, 'root' => self.root.to_liquid } end end end
Version data entries
20 entries across 20 versions & 1 rubygems