Sitecore
What
Display current Sitecore environment. Will not be active when sitecore.json and user.json don't exist.
Sample Configuration
- json
- yaml
- toml
Options
| Name | Type | Default | Description |
|---|---|---|---|
display_default | boolean | true | display the segment or not when the Sitecore environment name matches default |
Template (info)
default template
{{ .EndpointName }} {{ if .CmHost }}({{ .CmHost }}){{ end }}
Properties
| Name | Type | Description |
|---|---|---|
EndpointName | string | name of the current Sitecore environment |
CmHost | string | host of the current Sitecore environment |