Sha256: 14287ece12c52dc15422c4da7bc6b22005f9be1248c0c4641489a08550d43815

Contents?: true

Size: 417 Bytes

Versions: 7

Compression:

Stored size: 417 Bytes

Contents

# frozen_string_literal: true

# Adds Feed meta
#
# == Basic usage:
#    {%feed_meta%}
#
class FeedMetaTag < LiquidumTag
  def render(context)
    super

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

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

Liquid::Template.register_tag('feed_meta', FeedMetaTag)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
scribo-1.0.44 lib/scribo/liquid/tags/feed_meta_tag.rb
scribo-1.0.43 lib/scribo/liquid/tags/feed_meta_tag.rb
scribo-1.0.42 lib/scribo/liquid/tags/feed_meta_tag.rb
scribo-1.0.41 lib/scribo/liquid/tags/feed_meta_tag.rb
scribo-1.0.40 lib/scribo/liquid/tags/feed_meta_tag.rb
scribo-1.0.39 lib/scribo/liquid/tags/feed_meta_tag.rb
scribo-1.0.38 lib/scribo/liquid/tags/feed_meta_tag.rb