From: Matthieu Bresson Date: Fri, 9 Jun 2017 18:55:02 +0000 (+0200) Subject: docs: change .Site to $.Site where the global context is masked by the term's context X-Git-Tag: v0.22~5 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=39408925;p=brevno-suite%2Fhugo docs: change .Site to $.Site where the global context is masked by the term's context --- diff --git a/docs/content/templates/terms.md b/docs/content/templates/terms.md index f81fc8f7..83414cee 100644 --- a/docs/content/templates/terms.md +++ b/docs/content/templates/terms.md @@ -87,7 +87,7 @@ content tagged with each tag. @@ -107,7 +107,7 @@ Another example listing the content for each term (ordered by Date): {{ $data := .Data }} {{ range $key,$value := .Data.Terms.ByCount }} -

{{ $value.Name }} {{ $value.Count }}

+

{{ $value.Name }} {{ $value.Count }}