URI: 
       Add debugging steps for no variables defined - hugo - [fork] hugo port for 9front
  HTML git clone git@git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 153dccc0e8c939fcbbb71afbb268817dbe704faa
   DIR parent 0ab41624137654a6668e026f717da2a6f3fe7334
  HTML Author: Daniel Compton <desk@danielcompton.net>
       Date:   Sat, 12 Mar 2016 21:44:50 +1300
       
       Add debugging steps for no variables defined
       Diffstat:
         M docs/content/templates/debugging.md |      14 ++++++++++++++
       
       1 file changed, 14 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/docs/content/templates/debugging.md b/docs/content/templates/debugging.md
       @@ -54,3 +54,17 @@ you're looping through look like?
            {{ printf "%#v" . }}
        {{ end }}
        ```
       +
       +### Why do I have no variables defined?
       +
       +Check that you are passing variables in the `partial` function. For example
       +
       +```
       +{{ partial "header" }}
       +```
       +
       +will render the header partial, but the header partial will not have access to any variables. You need to pass variables explicitly. For example:
       +
       +```
       +{{ partial "header" . }}
       +```