def portfolio
      @portfolio ||= begin
        html_pages = site.site_payload["site"]["html_pages"] || []
        html_pages.reject! { |page| page.name == "404.html" }

        (site.docs_to_write + html_pages).select do |doc|
          doc.is_a?(Jekyll::Locale::Support)
        end
      end
    end
def portfolio
      @portfolio ||= begin
        html_pages = site.site_payload["site"]["html_pages"] || []
        html_pages.reject! { |page| page.name == "404.html" }

        (site.docs_to_write + html_pages).select do |doc|
          doc.is_a?(Jekyll::Locale::Support)
        end
      end
    end
Instances of Jekyll class that include `Jekyll::Locale::Support` mixin
 (which are simply Jekyll::Page and Jekyll::Document)