src/site/_plugins/any_language.rb
def generate(site)
      lang = site.config["lang"]
      lang = lang ? lang : "en"
      Jekyll.logger.info "Generating For Lang " + lang
      if site.config.has_key?("langs_available")
        generate_all_langs(site)
      else
        generate_one_lang(site, lang)
      end
    end
# We want this to run early in the process.
We want this to run early in the process.
We want this to run early in the process .
def generate(site)
      lang = site.config["lang"]
      lang = lang ? lang : "en"
      Jekyll.logger.info "Generating For Lang " + lang
      if site.config.has_key?("langs_available")
        generate_all_langs(site)
      else
        generate_one_lang(site, lang)
      end
    end
def generate ( site ) lang = site . config [ "lang" ] lang = lang ? lang : "en" Jekyll . logger . info "Generating For Lang " + lang if site . config . has_key? ( "langs_available" ) generate_all_langs ( site ) else generate_one_lang ( site , lang ) end end
We want this to run early in the process.
We want this to run early in the process .
site