Remove extra parentheses in GetPage function example

This commit is contained in:
Ryan Watters 2017-04-20 17:14:57 -05:00
parent d304130629
commit 21ebf481df
6 changed files with 1 additions and 1 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -41,7 +41,7 @@ This code snippet---in the form of a [partial template][partials]---allows you t
{{% code file="grab-top-two-tags.html" %}}
```html
<ul class="most-popular-tags">
{{ $t := $.Site.GetPage("taxonomyTerm", "tags") }}
{{ $t := $.Site.GetPage "taxonomyTerm" "tags" }}
{{ range first 2 $t.Data.Terms.ByCount }}
<li>{{.}}</li>
{{ end }}

BIN
themes/.DS_Store vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.