docs: Fix example for Param method - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 2468b10eb35ee3e9871a25416ca0bf627caae851
DIR parent cd558958a0c0ecd06f7560a38e27334fe983e0de
HTML Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Mon, 11 Apr 2016 13:26:33 +0200
docs: Fix example for Param method
Fixes #2070
Diffstat:
M docs/content/templates/variables.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/docs/content/templates/variables.md b/docs/content/templates/variables.md
@@ -93,7 +93,7 @@ In Hugo you can declare params both for the site and the individual page. A com
With the `Param` method the most specific value will be selected for you, and it is safe to use it in any template (it's defined on both Page and Node):
```
-$.Param("image")
+$.Param "image"
```
## Node Variables