Class: FastComments::Jekyll::UserActivityTag

Inherits:
ContainerTag show all
Defined in:
lib/fastcomments/jekyll/base_tag.rb

Overview

The user activity feed is keyed by a user id rather than a page.

Direct Known Subclasses

UserActivityFeedTag

Instance Method Summary collapse

Methods inherited from BaseTag

page_scoped?, #render

Instance Method Details

#render_widget(config) ⇒ Object



37
38
39
40
41
42
43
# File 'lib/fastcomments/jekyll/base_tag.rb', line 37

def render_widget(config)
  unless config["userId"].is_a?(String) && !config["userId"].empty?
    raise ::Liquid::SyntaxError, "fastcomments_user_activity_feed tag requires a \"user_id\" option."
  end

  super
end