diff --git a/lib/jekyll/tags/link.rb b/lib/jekyll/tags/link.rb index e6dcde61..6ffd4726 100644 --- a/lib/jekyll/tags/link.rb +++ b/lib/jekyll/tags/link.rb @@ -1,7 +1,11 @@ module Jekyll module Tags class Link < Liquid::Tag - TAG_NAME = "link".freeze + class << self + def tag_name + self.name.split("::").last.downcase + end + end def initialize(tag_name, relative_path, tokens) super @@ -17,7 +21,7 @@ module Jekyll end raise ArgumentError, <