From 39408925fd649ff202470c300d79bff457e52bcc Mon Sep 17 00:00:00 2001 From: Matthieu Bresson Date: Fri, 9 Jun 2017 20:55:02 +0200 Subject: [PATCH] docs: change .Site to $.Site where the global context is masked by the term's context --- docs/content/templates/terms.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content/templates/terms.md b/docs/content/templates/terms.md index f81fc8f71..83414ceed 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 }}