JekyllServeSettingsExtensions.

EnableSafeMode(JekyllServeSettings, bool) Method

Summary

Sets if both non-whitelisted plugins and caching to disk should be disabled, and if symbolic links should be ignore. --safe

Syntax

public static JekyllServeSettings EnableSafeMode(this JekyllServeSettings settings, bool enable = true)

Parameters

Name Type Description
settings JekyllServeSettings The settings.
enable bool to disable non-whitelisted plugins, caching safe disk, and ignore symbolic links, otherwise .

Return Value

Type Description
JekyllServeSettings The settings instance with the SafeMode property updated with the value provided in enable.