Exception: Jekyll::Disqus::DuplicatedDisqusId

Inherits:
StandardError
  • Object
show all
Defined in:
lib/jekyll/disqus/utils.rb

Overview

Duplicated Disqus ID among pages and posts.

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ DuplicatedDisqusId

Returns a new instance of DuplicatedDisqusId.



36
37
38
39
# File 'lib/jekyll/disqus/utils.rb', line 36

def initialize(args)
  super "The page at the URL: #{args[:current_url]}
    has the same Disqus ID of: #{args[:duplicated_url]} (#{args[:id]})!"
end