Skip to content
New issue

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

.Hugo.Generator inside <head> and .RSSLINK issues in baseof.html #19

Open
pr9000 opened this issue Apr 22, 2023 · 0 comments
Open

.Hugo.Generator inside <head> and .RSSLINK issues in baseof.html #19

pr9000 opened this issue Apr 22, 2023 · 0 comments

Comments

@pr9000
Copy link

pr9000 commented Apr 22, 2023

Hello, just trying your theme with hugo v0.111.3+extended.
When tried the example site, Hugo complained with these two issues in baseof.html file.

/layouts/_default/baseof.html:5:12": execute of template failed: template: _default/list.html:5:12: executing "_default/list.html" at <.Hugo.Generator>: can't evaluate field Hugo in type *hugolib.pageState

To fix error for the moment, I have comment it out.

/layouts/_default/baseof.html:35:1": parse failed: template: _default/terms.html:35: undefined variable "$rsslink"

To fix error I decided to use $rssLink variable, and set it with the value of .RSSLINK from config.toml or the front matter.

Please find attached the diff patch baseof.diff.txt

All the best.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant