Sha256: 1e6ce9cd82e9f3e5473760a171559e2115d1e9f6c9a58724e1d90ff466262ca6
Contents?: true
Size: 393 Bytes
Versions: 6
Compression:
Stored size: 393 Bytes
Contents
module Smithy class Site @@title = nil 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
6 entries across 6 versions & 1 rubygems