Class: Jekyll::Drops::UnifiedPayloadDrop
- Inherits:
-
Drop
- Object
- Drop
- Jekyll::Drops::UnifiedPayloadDrop
- Defined in:
- lib/jekyll/drops/unified_payload_drop.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#highlighter_prefix ⇒ Object
Returns the value of attribute highlighter_prefix.
-
#highlighter_suffix ⇒ Object
Returns the value of attribute highlighter_suffix.
-
#layout ⇒ Object
Returns the value of attribute layout.
-
#page ⇒ Object
Returns the value of attribute page.
-
#paginator ⇒ Object
Returns the value of attribute paginator.
Instance Method Summary collapse
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
8 9 10 |
# File 'lib/jekyll/drops/unified_payload_drop.rb', line 8 def content @content end |
#highlighter_prefix ⇒ Object
Returns the value of attribute highlighter_prefix.
9 10 11 |
# File 'lib/jekyll/drops/unified_payload_drop.rb', line 9 def highlighter_prefix @highlighter_prefix end |
#highlighter_suffix ⇒ Object
Returns the value of attribute highlighter_suffix.
9 10 11 |
# File 'lib/jekyll/drops/unified_payload_drop.rb', line 9 def highlighter_suffix @highlighter_suffix end |
#layout ⇒ Object
Returns the value of attribute layout.
8 9 10 |
# File 'lib/jekyll/drops/unified_payload_drop.rb', line 8 def layout @layout end |
#page ⇒ Object
Returns the value of attribute page.
8 9 10 |
# File 'lib/jekyll/drops/unified_payload_drop.rb', line 8 def page @page end |
#paginator ⇒ Object
Returns the value of attribute paginator.
8 9 10 |
# File 'lib/jekyll/drops/unified_payload_drop.rb', line 8 def paginator @paginator end |
Instance Method Details
#jekyll ⇒ Object
11 12 13 |
# File 'lib/jekyll/drops/unified_payload_drop.rb', line 11 def jekyll JekyllDrop.global end |
#site ⇒ Object
15 16 17 |
# File 'lib/jekyll/drops/unified_payload_drop.rb', line 15 def site @site_drop ||= ThemedSiteDrop.new(@obj) end |
#theme ⇒ Object
19 20 21 22 |
# File 'lib/jekyll/drops/unified_payload_drop.rb', line 19 def theme theme_name = site.theme.name site.data[theme_name] end |