Class: JekyllJsonFeed::MetaTag

Inherits:
Liquid::Tag
  • Object
show all
Includes:
Jekyll::Filters::URLFilters
Defined in:
lib/jekyll-json-feed/meta-tag.rb

Instance Method Summary collapse

Instance Method Details

#render(context) ⇒ Object



6
7
8
9
10
# File 'lib/jekyll-json-feed/meta-tag.rb', line 6

def render(context)
  @context = context
  attrs    = attributes.map { |k, v| %(#{k}="#{v}") }.join(" ")
  "<link #{attrs} />"
end