But as written, this example will always render the <img> tag because boilerplate doesn't yet support any variable type other than string. In this case, a boolean type would allow this to work.
As a string, the only way to get the if statement to be false is for .ShowLogo to be empty, which requires that no default value be defined.
In the README, the following files are suggested as examples:
boilerplate.yml
index.html
But as written, this example will always render the
<img>
tag because boilerplate doesn't yet support any variable type other than string. In this case, a boolean type would allow this to work.As a string, the only way to get the
if
statement to be false is for.ShowLogo
to be empty, which requires that no default value be defined.