ref: 659f71e6177f5691e8b8fe989d3b3d02bc64049b
parent: 20bed49f52922a1bfa4e9f6d29219f416efe9a88
author: Anthony Fok <foka@debian.org>
date: Sat Jan 31 02:27:42 EST 2015
[Docs] Fix more missing `.` in example `partial` calls
--- a/docs/content/templates/content.md
+++ b/docs/content/templates/content.md
@@ -152,7 +152,7 @@
</div>
{{ 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
--- a/docs/content/templates/homepage.md
+++ b/docs/content/templates/homepage.md
@@ -75,4 +75,4 @@
</div>
</section>
- {{ partial "footer.html" }}
+ {{ partial "footer.html" . }}
--- a/docs/content/templates/terms.md
+++ b/docs/content/templates/terms.md
@@ -91,7 +91,7 @@
</div>
</section>
- {{ partial "footer.html" }}
+ {{ partial "footer.html" . }}
Another example listing the content for each term (ordered by Date):
@@ -115,7 +115,7 @@
</div>
</section>
- {{ partial "footer.html" }}
+ {{ partial "footer.html" . }}
## Ordering
@@ -141,7 +141,7 @@
</ul>
</div>
</section>
- {{ partial "footer.html" }}
+ {{ partial "footer.html" . }}
### Example terms.html file (ordered by popularity)
@@ -160,4 +160,4 @@
</div>
</section>
- {{ partial "footer.html" }}
+ {{ partial "footer.html" . }}
--
⑨