From e4ebe0d5bf9d25d7e30acd6fc18610d96abb3d6f Mon Sep 17 00:00:00 2001
From: madhead <siarhei.krukau@gmail.com>
Date: Wed, 14 Dec 2016 05:01:11 -0500
Subject: [PATCH] docs: Fix querify example

---
 docs/content/templates/functions.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/content/templates/functions.md b/docs/content/templates/functions.md
index eaeb3cac..dd66d8f0 100644
--- a/docs/content/templates/functions.md
+++ b/docs/content/templates/functions.md
@@ -893,11 +893,11 @@ e.g. `<a href="/tags/{{ . | urlize }}">{{ . }}</a>`
 
 ### querify
 
-Takes a set of key-value pairs and returns a [`url.Values`](https://godoc.org/net/url#Values) object. The [`Encode`](https://godoc.org/net/url#Values.Encode) method turns the pairs into a [query string](https://en.wikipedia.org/wiki/Query_string) that can be appended to a url. E.g. 
+Takes a set of key-value pairs and returns a [query string](https://en.wikipedia.org/wiki/Query_string) that can be appended to a URL. E.g.
 
-    <a href="https://www.google.com?{{ (querify "q" "test" "page" 3).Encode | safeHTML }}">Search</a>
+    <a href="https://www.google.com?{{ (querify "q" "test" "page" 3) | safeURL }}">Search</a>
 
-will be rendered as 
+will be rendered as
 
     <a href="https://www.google.com?page=3&q=test">Search</a>
 
@@ -1020,7 +1020,7 @@ Every `Page` has a `Kind` attribute that shows what kind of page it is. While th
 ```
  {{ with .Site.GetPage "section" "blog" }}{{ .Title }}{{ end }}
  ```
- 
+
 This method wil return `nil` when no page could be found, so the above will not print anything if the blog section isn't found.
 
 The valid page kinds are: *home, section, taxonomy and taxonomyTerm.*
-- 
2.30.2