From: Jacob Walker Date: Thu, 15 Sep 2016 16:35:39 +0000 (-0500) Subject: docs: Fix markdown in content/extras/scratch.md X-Git-Tag: v0.17~60 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4e16a6d4fdb46cc072bd0bf0f8977d6a5f224694;p=brevno-suite%2Fhugo docs: Fix markdown in content/extras/scratch.md --- diff --git a/docs/content/extras/scratch.md b/docs/content/extras/scratch.md index 0b93747e..a6369137 100644 --- a/docs/content/extras/scratch.md +++ b/docs/content/extras/scratch.md @@ -15,6 +15,7 @@ weight: 80 `Scratch` -- a "scratchpad" for your node- or page-scoped variables. 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. `Scratch` is added to both `Node` and `Page` and `Shortcode` -- with following methods: + * `Set` and `Add` takes a `key` and the `value` to add. * `Get` returns the `value` for the `key` given. * `SetInMap` takes a `key`, `mapKey` and `value`