Sha256: 86c27c23cb19bab736b2988b7238929e3444922f06dd77d75dd0600e014acb25
Contents?: true
Size: 209 Bytes
Versions: 3
Compression:
Stored size: 209 Bytes
Contents
# frozen_string_literal: true class Page < Component # Example of a nested layout def around_template(&block) render Layouts::Site.new do |layout| layout.with_content(&block) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
staticky-0.2.0 | site_template/lib/page.rb |
staticky-0.1.1 | site_template/lib/page.rb |
staticky-0.1.0 | site_template/lib/page.rb |