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