Open CGillen opened 2 years ago
@CGillen Thank you for proposing an enhancement.
From a quick glance, it looks like you're assuming site.config["jekyll_admin"]
will always be defined.
What if it isn't?
#dig
would be a better solution, wouldn't it? Doubtful site.config["jekyll_admin"]
would be defined as anything besides a hash.
Fixes #610 @ashmaroli mentioned they wanted tests on the fix. These might not be the best tests, so if you have any suggestions I'll gladly fix them up.