We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2169b7 commit 5e59de2Copy full SHA for 5e59de2
lib/jekyll-admin/server/configuration.rb
@@ -28,9 +28,17 @@ def raw_configuration
28
configuration.read_config_file(configuration_path)
29
end
30
31
+ def custom_configs
32
+ Jekyll::Commands::Serve.custom_configs
33
+ end
34
+
35
# Returns the path to the *first* config file discovered
36
def configuration_path
- sanitized_path configuration.config_files(overrides).first
37
+ if custom_configs
38
+ sanitized_path custom_configs.first
39
+ else
40
+ sanitized_path configuration.config_files(overrides).first
41
42
43
44
# The user's uploaded configuration for updates
0 commit comments