Docs: fix small typos in functions.md
authorThijs de Zoute <thijsdezoete@gmail.com>
Wed, 17 Feb 2016 12:36:28 +0000 (13:36 +0100)
committerdigitalcraftsman <digitalcraftsman@users.noreply.github.com>
Wed, 24 Feb 2016 18:14:04 +0000 (19:14 +0100)
docs/content/templates/functions.md

index f5b254a7c0f35e3fbbf1480b90060e527262fbda..67537c70cf8299d16a274eac4b02489baf91d4fc 100644 (file)
@@ -715,7 +715,7 @@ This works, but the complexity of "post/tag/list.html" is fairly high; the Hugo
 This is Hugo. We have a better way. If this were your "post/tag/list.html" instead, all of those problems are fixed automatically (this first version separates all of the operations for ease of reading; the combined version will be shown after the explanation).
 
     <!-- post/tag/list.html -->
-    {{ with.Params.tags }}
+    {{ with .Params.tags }}
     <div class="tags-list">
       Tags:
       {{ $sort := sort . }}
@@ -728,7 +728,7 @@ This is Hugo. We have a better way. If this were your "post/tag/list.html" inste
 In this version, we are now sorting the tags, converting them to links with "post/tag/link.html", cleaning off stray newlines, and joining them together in a delimited list for presentation. That can also be written as:
 
     <!-- post/tag/list.html -->
-    {{ with.Params.tags }}
+    {{ with .Params.tags }}
     <div class="tags-list">
       Tags:
       {{ delimit (apply (apply (sort .) "partial" "post/tag/link" ".") "chomp" ".") ", " }}