From 659f71e6177f5691e8b8fe989d3b3d02bc64049b Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Sat, 31 Jan 2015 07:27:42 -0700 Subject: [PATCH] [Docs] Fix more missing `.` in example `partial` calls --- docs/content/templates/content.md | 2 +- docs/content/templates/homepage.md | 2 +- docs/content/templates/terms.md | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/content/templates/content.md b/docs/content/templates/content.md index e4a9334a1..3b552eee0 100644 --- a/docs/content/templates/content.md +++ b/docs/content/templates/content.md @@ -152,7 +152,7 @@ It makes use of [partial templates](/layout/partials/) {{ end }} - {{ partial "footer.html" }} + {{ partial "footer.html" . }} Notice how the project/single.html template uses an additional parameter unique to this template. This doesn't need to be defined ahead of time. If the key is diff --git a/docs/content/templates/homepage.md b/docs/content/templates/homepage.md index 412857ce0..e58fd842f 100644 --- a/docs/content/templates/homepage.md +++ b/docs/content/templates/homepage.md @@ -75,4 +75,4 @@ It makes use of [partial templates](/templates/partials/) and uses a similar app - {{ partial "footer.html" }} + {{ partial "footer.html" . }} diff --git a/docs/content/templates/terms.md b/docs/content/templates/terms.md index 5bb91b84b..dc72d0362 100644 --- a/docs/content/templates/terms.md +++ b/docs/content/templates/terms.md @@ -91,7 +91,7 @@ content tagged with each tag. - {{ partial "footer.html" }} + {{ partial "footer.html" . }} Another example listing the content for each term (ordered by Date): @@ -115,7 +115,7 @@ Another example listing the content for each term (ordered by Date): - {{ partial "footer.html" }} + {{ partial "footer.html" . }} ## Ordering @@ -141,7 +141,7 @@ Hugo can order the meta data in two different ways. It can be ordered: - {{ partial "footer.html" }} + {{ partial "footer.html" . }} ### Example terms.html file (ordered by popularity) @@ -160,4 +160,4 @@ Hugo can order the meta data in two different ways. It can be ordered: - {{ partial "footer.html" }} + {{ partial "footer.html" . }}