Sha256: 0a02c498a9d214fd72b462137f8d17740cf08298220261ff8c5f7a4f727e185d
Contents?: true
Size: 656 Bytes
Versions: 7
Compression:
Stored size: 656 Bytes
Contents
# frozen_string_literal: true require "meta-tags" module Archangel module Liquid module Tags ## # Meta tags custom tag for Liquid # # Example # {% meta_tags %} # class MetaTagsTag < ApplicationTag ## # Render the meta tgas for the theme # # @param context [Object] the Liquid context # @return [String] the meta tags # def render(context) context.registers[:view].display_meta_tags end end end end end ::Liquid::Template.register_tag("meta_tags", Archangel::Liquid::Tags::MetaTagsTag)
Version data entries
7 entries across 7 versions & 1 rubygems