Class: Jekyll::AttendeasePlugin::AuthScriptTag

Inherits:
Liquid::Tag
  • Object
show all
Defined in:
lib/jekyll/attendease_plugin/tags.rb

Instance Method Summary collapse

Instance Method Details

#render(context) ⇒ Object



24
25
26
27
# File 'lib/jekyll/attendease_plugin/tags.rb', line 24

def render(context)
  api_host = context.registers[:site].config['attendease']['api_host']
  '<script type="text/javascript" src="' + api_host + 'assets/attendease_event/auth.js"></script>'
end