vendor/bundle/ruby/2.6.0/gems/jekyll-seo-tag-2.8.0/lib/jekyll-seo-tag/author_drop.rb
def resolved_author
        return @resolved_author if defined? @resolved_author

        sources = [page["author"]]
        sources << page["authors"].first if page["authors"].is_a?(Array)
        sources << site["author"]
        @resolved_author = sources.find { |s| !s.to_s.empty? }
      end
# Finds the page author in the page.author, page.authors, or site.author
#
# Returns a string or hash representing the author
Finds the page author in the page.author, page.authors, or site.author
Returns a string or hash representing the author
Finds the page author in the page . author page . authors or site . author Returns a string or hash representing the author
def resolved_author
        return @resolved_author if defined? @resolved_author
        sources = [page["author"]]
        sources << page["authors"].first if page["authors"].is_a?(Array)
        sources << site["author"]
        @resolved_author = sources.find { |s| !s.to_s.empty? }
      end
def resolved_author return @resolved_author if defined? @resolved_author sources = [ page [ "author" ] ] sources << page [ "authors" ] . first if page [ "authors" ] . is_a? ( Array ) sources << site [ "author" ] @resolved_author = sources . find { | s | ! s . to_s . empty? } end
Finds the page author in the page.author, page.authors, or site.author
Returns a string or hash representing the author
Finds the page author in the page . author page . authors or site . author Returns a string or hash representing the author