1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Revert "Squashed 'docs/' changes from 35abbc86..f887bd7b"

That did not go well...

This reverts commit 0373e43102.
This commit is contained in:
Bjørn Erik Pedersen
2017-08-10 15:00:30 +02:00
parent 0373e43102
commit 9a2eb0f1d3
265 changed files with 16 additions and 14813 deletions

View File

@@ -22,10 +22,6 @@ 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.