class JekyllIndexPages::AuthorURL

Public Instance Methods

filter_config(config) click to toggle source
# File lib/jekyll-index-pages/tags/author-url.rb, line 7
def filter_config(config)
  _, item = config.detect { |key, value| key == "authors" }
  item
end
has_kind?(site, kind) click to toggle source
# File lib/jekyll-index-pages/tags/author-url.rb, line 3
def has_kind?(site, kind)
  site.data["authors"].key?(kind)
end