We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ran go get to use the dev build. .Site.Params values that worked in 17 are no longer showing up when running the local server.
.Site.Params
For example, in my config.toml, I have:
config.toml
[params] CopyrightLine = "College of American Pathologists"
And then in partials/footer.html, I use the following:
partials/footer.html
<ul class="copyright"> <li><small>© {{ .Site.LastChange.Format "2006"}}</small></li> {{ with .Site.Params.CopyrightLine }}<li>{{.}}</li>{{end}} </ul>
The second <li> no longer writes to the page. Same if I use if or just <li>{{.Site.Params.CopyrightLine}}</li>.
<li>
if
<li>{{.Site.Params.CopyrightLine}}</li>
@bep, it's in a private repo for work, but I'll add you as a collaborator in the event you want to test this locally....
The text was updated successfully, but these errors were encountered:
See #2630
Sorry, something went wrong.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
Ran go get to use the dev build.
.Site.Params
values that worked in 17 are no longer showing up when running the local server.For example, in my
config.toml
, I have:And then in
partials/footer.html
, I use the following:The second
<li>
no longer writes to the page. Same if I useif
or just<li>{{.Site.Params.CopyrightLine}}</li>
.@bep, it's in a private repo for work, but I'll add you as a collaborator in the event you want to test this locally....
The text was updated successfully, but these errors were encountered: