docs: Fix example for Param method
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 11 Apr 2016 11:26:33 +0000 (13:26 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 11 Apr 2016 11:26:33 +0000 (13:26 +0200)
Fixes #2070

docs/content/templates/variables.md

index 8daf3d854dbb87fc97283591d357f958ed3f2044..db3cf109ef10ae6a1a63396264f08b1d8c4f75d7 100644 (file)
@@ -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