mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-19 14:54:41 -04:00
Remove extra parentheses in GetPage function example
This commit is contained in:
parent
d304130629
commit
21ebf481df
@ -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
BIN
themes/.DS_Store
vendored
Binary file not shown.
BIN
themes/hugo-docs-concept/.DS_Store
vendored
BIN
themes/hugo-docs-concept/.DS_Store
vendored
Binary file not shown.
BIN
themes/hugo-docs-concept/pipeline/.DS_Store
vendored
Normal file
BIN
themes/hugo-docs-concept/pipeline/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
themes/hugo-docs-concept/pipeline/scss/.DS_Store
vendored
Normal file
BIN
themes/hugo-docs-concept/pipeline/scss/.DS_Store
vendored
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user