Referencing an undefined variable gives “Rendering error: html/template: “theme/blog/single.html” is an incomplete template.” Saying “contains undefined variable” would be clearer.
Example:
{{ $mybase := .Site.BaseUrl }}
{{ $mybass }}
Referencing an undefined variable gives “Rendering error: html/template: “theme/blog/single.html” is an incomplete template.” Saying “contains undefined variable” would be clearer.
Example:
{{ $mybase := .Site.BaseUrl }}
{{ $mybass }}
Unfortunately, this is the error message we get out of the Go template library, so there’s not much we can do to change it.