diff --git a/content/functions/scratch.md b/content/functions/scratch.md index f69d3b760..2dc858c99 100644 --- a/content/functions/scratch.md +++ b/content/functions/scratch.md @@ -22,6 +22,10 @@ aliases: [/extras/scratch/,/doc/scratch/] In most cases you can do well without `Scratch`, but there are some use cases that aren't solvable with Go's templates without `Scratch`'s help, due to scoping issues. +{{% note %}} +See [this Go issue](https://github.com/golang/go/issues/10608) for the main motivation behind Scratch. +{{% /note %}} + `Scratch` is added to both `Page` and `Shortcode` -- with following methods: * `Set` and `Add` takes a `key` and the `value` to add.