This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Jekyll.
Summary
Sets the local server hostname to listen at.
- Assembly
- Cake
.Jekyll .dll - Namespace
- Cake
.Jekyll .Commands .Serve - Containing Type
- Jekyll
Serve Settings Extensions
Syntax
public static JekyllServeSettings SetHostname(this JekyllServeSettings settings, string hostname)
Parameters
| Name | Type | Description |
|---|---|---|
| settings | JekyllServeSettings | The settings. |
| hostname | string | The local server hostname to listen at. |
Return Value
| Type | Description |
|---|---|
| JekyllServeSettings | The settings instance with updated with the hostname provided. |
