You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github pages is building jekyll in safe mode. It means custom plugins in _plugins directory are ignored because of overriding config value of _plugins dirctory.
# Options which GitHub Pages sets, regardless of the user-specified value## The following values are also overridden by GitHub Pages, but are not# overridden locally, for practical purposes:# * source# * destination# * jailed# * verbose# * incremental# * GH_ENVOVERRIDES={"lsi"=>false,"safe"=>true,"plugins"=>SecureRandom.hex,"plugins_dir"=>SecureRandom.hex,"whitelist"=>PLUGIN_WHITELIST,"highlighter"=>"rouge","kramdown"=>{"template"=>"","math_engine"=>"mathjax","syntax_highlighter"=>"rouge"},"gist"=>{"noscript"=>false}}.freeze
how can i apply custom filter? jekyll's description is little bor ambigous.
The text was updated successfully, but these errors were encountered:
I think this code may be hint. config["gems"] are initialized with DEFAULT_PLUGIN values
# Given a user's config, determines the effective configuration by building a user# configuration sandwhich with our overrides overriding the user's specified# values which themselves override our defaults.## Returns the effective Configuration## Note: this is a highly modified version of Jekyll#configurationdefeffective_config(user_config)# Merge user config into defaultsconfig=Jekyll::Utils.deep_merge_hashes(MERGED_DEFAULTS,user_config).fix_common_issues.add_default_collections# Merge overwrites into user configconfig=Jekyll::Utils.deep_merge_hashesconfig,OVERRIDES# Ensure we have those gems we want.config["gems"]=Array(config["gems"]) | DEFAULT_PLUGINSconfig["whitelist"]=config["whitelist"] | config["gems"]ifdisable_whitelist?configend
github pages is building jekyll in
safe
mode. It means custom plugins in_plugins
directory are ignored because of overriding config value of_plugins
dirctory.here are code of github pages
how can i apply custom filter? jekyll's description is little bor ambigous.
The text was updated successfully, but these errors were encountered: