Class: Locomotive::Steam::Liquid::Tags::GlobalSection
- Inherits:
-
Section
- Object
- Liquid::Include
- Section
- Locomotive::Steam::Liquid::Tags::GlobalSection
- Defined in:
- lib/locomotive/steam/liquid/tags/global_section.rb
Constant Summary
Constants inherited from Section
Instance Attribute Summary
Attributes inherited from Section
Attributes included from Concerns::Attributes
Instance Method Summary collapse
Methods inherited from Section
Constructor Details
This class inherits a constructor from Locomotive::Steam::Liquid::Tags::Section
Instance Method Details
#parse(tokens) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/locomotive/steam/liquid/tags/global_section.rb', line 7 def parse(tokens) notify_on_parsing(section_type, source: :site, id: "site-#{section_type}", key: section_type, placement: attributes[:placement]&.to_sym ) end |