diff --git a/src/docs/markdown/caddyfile-tutorial.md b/src/docs/markdown/caddyfile-tutorial.md index b107a2e..e7a61cf 100644 --- a/src/docs/markdown/caddyfile-tutorial.md +++ b/src/docs/markdown/caddyfile-tutorial.md @@ -104,7 +104,7 @@ Save that, then restart Caddy, then reload the browser tab. You should see: Page loaded at: {{now | date "Mon Jan 2 15:04:05 MST 2006"}} ``` -With Caddy's [templates module](/docs/json/apps/http/servers/errors/routes/handle/templates/), you can do a lot of useful things with static files, such as including other HTML files, making sub-requests, setting response headers, working with data structures, and more! +With Caddy's [templates module](/docs/modules/http.handlers.templates), you can do a lot of useful things with static files, such as including other HTML files, making sub-requests, setting response headers, working with data structures, and more! diff --git a/src/docs/markdown/caddyfile/directives/templates.md b/src/docs/markdown/caddyfile/directives/templates.md index f2bbc16..3049d1f 100644 --- a/src/docs/markdown/caddyfile/directives/templates.md +++ b/src/docs/markdown/caddyfile/directives/templates.md @@ -4,7 +4,7 @@ title: templates (Caddyfile directive) # templates -Executes the response body as a [template](/docs/json/apps/http/servers/errors/routes/handle/templates/) document. Templates provide functional primitives for making simple dynamic pages. Features include HTTP subrequests, HTML file includes, Markdown rendering, JSON parsing, basic data structures, randomness, time, and more. +Executes the response body as a [template](/docs/modules/http.handlers.templates) document. Templates provide functional primitives for making simple dynamic pages. Features include HTTP subrequests, HTML file includes, Markdown rendering, JSON parsing, basic data structures, randomness, time, and more. ## Syntax diff --git a/src/docs/markdown/caddyfile/matchers.md b/src/docs/markdown/caddyfile/matchers.md index 770da02..92ec43f 100644 --- a/src/docs/markdown/caddyfile/matchers.md +++ b/src/docs/markdown/caddyfile/matchers.md @@ -146,7 +146,7 @@ file { By files. -- `root` defines the directory in which to look for files. Default is the current working directory, or the `root` [variable](https://caddyserver.com/docs/json/apps/http/servers/errors/routes/handle/vars/) (`{http.vars.root}`) if set. +- `root` defines the directory in which to look for files. Default is the current working directory, or the `root` [variable](/docs/modules/http.handlers.vars) (`{http.vars.root}`) if set. - `try_files` checks files in its list that match the try_policy. - `try_policy` specifies how to choose a file. Default is `first_exist`. - `first_exist` checks for file existence. The first file that exists is selected. diff --git a/src/docs/markdown/install.md b/src/docs/markdown/install.md index 969b431..cbf3477 100644 --- a/src/docs/markdown/install.md +++ b/src/docs/markdown/install.md @@ -76,9 +76,9 @@ Requirements: - [Go](https://golang.org/dl) 1.14 or newer - [Go modules](https://github.com/golang/go/wiki/Modules) enabled -Download the `v2` branch source code: +Download the source code: -
git clone -b v2 "https://github.com/caddyserver/caddy.git"
+
git clone "https://github.com/caddyserver/caddy.git"
Build: diff --git a/src/includes/header-nav.html b/src/includes/header-nav.html index 5a8664d..3c1e70d 100644 --- a/src/includes/header-nav.html +++ b/src/includes/header-nav.html @@ -2,7 +2,7 @@