{{$pathParts := splitList "/" .OriginalReq.URL.Path}} {{$markdownFilename := default "index" (slice $pathParts 2 | join "/")}} {{$markdownFilePath := printf "/docs/markdown/%s.md" $markdownFilename}} {{$markdownFile := (include $markdownFilePath | splitFrontMatter)}} {{$title := default $markdownFilename $markdownFile.Meta.title}} {{$title}} — Caddy Documentation {{include "/includes/docs-head.html"}} {{include "/includes/docs-header.html"}}
{{include "/includes/docs-nav.html"}}
Caddy 2 is beta software. It is ready for production, but some things will change between releases; check the release notes before upgrading.
{{markdown $markdownFile.Body}}
{{include "/includes/footer.html"}}