From 7c54a4595044128e9f7671ba12ee56adccd86c72 Mon Sep 17 00:00:00 2001 From: Neil McAllister Date: Wed, 1 Jul 2020 03:00:03 -0700 Subject: [PATCH] Minor fix to Go templating documentation --- docs/content/providers/file.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/content/providers/file.md b/docs/content/providers/file.md index dc6a0b0c6..5e4f7ac5c 100644 --- a/docs/content/providers/file.md +++ b/docs/content/providers/file.md @@ -191,14 +191,14 @@ providers: ### Go Templating !!! warning - Go Templating only works along with dedicated dynamic configuration files. + Go Templating only works with dedicated dynamic configuration files. Templating does not work in the Traefik main static configuration file. -Traefik allows using Go templating, -it must be a valid [Go template](https://golang.org/pkg/text/template/), -augmented with the [sprig template functions](http://masterminds.github.io/sprig/). +Traefik supports using Go templating to automatically generate repetitive portions of configuration files. +These sections must be valid [Go templates](https://golang.org/pkg/text/template/), +augmented with the [Sprig template functions](http://masterminds.github.io/sprig/). -Thus, it's possible to define easily lot of routers, services and TLS certificates as described in the following examples: +To illustrate, it's possible to easily define multiple routers, services, and TLS certificates as described in the following examples: ??? example "Configuring Using Templating"