Module: Jekyll::GitHubMetadata::RepositoryFix
- Included in:
- Repository
- Defined in:
- lib/elixir-toolkit-theme-plugins/github_metadata_fix.rb
Instance Method Summary collapse
-
#source ⇒ Object
Allow to override site.github.source.branch with envvar JEKYLL_BUILD_BRANCH Allow to override site.github.source.path with envvar JEKYLL_BASE_PATH.
Instance Method Details
#source ⇒ Object
Allow to override site.github.source.branch with envvar JEKYLL_BUILD_BRANCH Allow to override site.github.source.path with envvar JEKYLL_BASE_PATH
8 9 10 11 12 13 |
# File 'lib/elixir-toolkit-theme-plugins/github_metadata_fix.rb', line 8 def source { "branch" => ENV["JEKYLL_BUILD_BRANCH"] || super["branch"], "path" => ENV["JEKYLL_BASE_PATH"] || super["path"], } end |