# This is required automatically.. Bloggit::Plugin.register :haloscan do |settings| $username = settings.fetch('username', '') end Bloggit::Template.register_tag :haloscan do |*args| type, slug = args case type when :comments %Q|| when :trackbacks %Q|| when :script %Q|| else 'WHAT ELSE?' end end