Commit 669676b7 authored by Yury Smolsky's avatar Yury Smolsky Committed by Andrew Gerrand

text/template: fix the documentation of the block action

Fixes #23520

Change-Id: Ia834819f3260691a1a0181034ef4b4b945965688
Reviewed-on: https://go-review.googlesource.com/94761Reviewed-by: 's avatarAndrew Gerrand <adg@golang.org>
parent ea8d7a37
......@@ -121,7 +121,7 @@ data, defined in detail in the corresponding sections that follow.
A block is shorthand for defining a template
{{define "name"}} T1 {{end}}
and then executing it in place
{{template "name" .}}
{{template "name" pipeline}}
The typical use is to define a set of root templates that are
then customized by redefining the block templates within.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment