-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uses the jekyll _config.yml file to determine the webroot path #90
Conversation
rescue | ||
{} | ||
end | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be simplified to:
def self.jekyll_config
@config ||= YAML.safe_load_file(config_file)
rescue
{}
end
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, on second thought, I'm not sure that we should rescue. If the Config has an error, we should fail loudly.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@arthur24b6 thanks for this. Any interest in still seeing this merged? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm interested to see this merged. What information is still needed? |
It looks like there are some merge conflicts on master. If you submit a new PR that resolves those commits, and tests pass, glad to get this merged. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Currently jekyll-auth assumes that the webroot is always _site. If the destination is specified in _config.yml it should be respected.
Note: this is revised from my original PR due to some failures of my coffee this morning.