From bb36d57be5bafb61ae65a58b6ed61db122464151 Mon Sep 17 00:00:00 2001 From: Rafael Monteiro Date: Sat, 12 Nov 2016 20:47:07 -0200 Subject: [PATCH] docs: Fix typos in extras/scratch.md --- docs/content/extras/scratch.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/extras/scratch.md b/docs/content/extras/scratch.md index a63691377..f2c8b56ed 100644 --- a/docs/content/extras/scratch.md +++ b/docs/content/extras/scratch.md @@ -23,11 +23,11 @@ weight: 80 `Set` and `SetInMap` can store values of any type. -For single values, `Add` accepts values that support Go's `+` operator. If the first `Add` for a key is an array or slice, the follwing adds will be appended to that list. +For single values, `Add` accepts values that support Go's `+` operator. If the first `Add` for a key is an array or slice, the following adds will be appended to that list. The scope of the backing data is global for the given `Node`, `Page` or `Shortcode`, and spans partial and shortcode includes. -Note that `.Scratch` from a shortcode will return the shortcode's `Scratch`, which in most casses is what you want. If you want to store it in the page scroped Scratch, then use `.Page.Scratch`. +Note that `.Scratch` from a shortcode will return the shortcode's `Scratch`, which in most cases is what you want. If you want to store it in the page scroped Scratch, then use `.Page.Scratch`. ## Sample usage