Class: Jekyll::Graph::GraphScriptTag

Inherits:
Liquid::Tag
  • Object
show all
Includes:
Filters::URLFilters
Defined in:
lib/jekyll-graph/tags.rb

Overview

Instance Method Summary collapse

Instance Method Details

#render(context) ⇒ Object



26
27
28
29
# File 'lib/jekyll-graph/tags.rb', line 26

def render(context)
  @context = context
  "<script type=\"module\" src=\"#{$graph_conf.baseurl}#{$graph_conf.path_scripts}/jekyll-graph.js\" /></script>"
end