Class: FeedMetaTag

Inherits:
LiquidumTag
  • Object
show all
Defined in:
lib/scribo/liquid/tags/feed_meta_tag.rb

Overview

Adds Feed meta

Basic usage:

{%feed_meta%}

Instance Method Summary collapse

Instance Method Details

#render(context) ⇒ Object



9
10
11
12
13
14
15
16
17
18
19
# File 'lib/scribo/liquid/tags/feed_meta_tag.rb', line 9

def render(context)
  super

  content = context.registers['content']
  site = content.site
  request = context.registers['controller'].request

  %[
    <!-- Begin Scribo Feed Meta tag #{Scribo::VERSION} -->
  ]
end