Class: Archangel::Liquid::Tags::MetaTagsTag

Inherits:
ApplicationTag
  • Object
show all
Defined in:
lib/archangel/liquid/tags/meta_tags_tag.rb

Overview

Meta tags custom tag for Liquid

Example

{% meta_tags %}

Constant Summary

Constants inherited from ApplicationTag

ApplicationTag::ASSET_ATTRIBUTES_SYNTAX, ApplicationTag::ASSET_SYNTAX, ApplicationTag::KEY_VALUE_ATTRIBUTES_SYNTAX, ApplicationTag::SLUG_ATTRIBUTES_SYNTAX, ApplicationTag::SLUG_SYNTAX, ApplicationTag::URL_ATTRIBUTES_SYNTAX

Instance Method Summary collapse

Instance Method Details

#render(context) ⇒ String

Render the meta tgas for the theme

:reek:UtilityFunction


22
23
24
# File 'lib/archangel/liquid/tags/meta_tags_tag.rb', line 22

def render(context)
  context.registers[:view].display_meta_tags
end