module Jekyll::StickyPosts

Constants

VERSION

Public Class Methods

debug(msg, doc = nil) click to toggle source
# File lib/jekyll-stickyposts.rb, line 13
def self.debug(msg, doc = nil)
  self.info msg if @debug && (doc.nil? || !doc.data['autogen_page'])
end
debug_state(state) click to toggle source
# File lib/jekyll-stickyposts.rb, line 5
def self.debug_state(state)
  @debug = state
end
info(msg) click to toggle source
# File lib/jekyll-stickyposts.rb, line 9
def self.info(msg)
  Jekyll.logger.info "StickyPosts:", msg
end