bulma icon indicating copy to clipboard operation
bulma copied to clipboard

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

Open pr9000 opened this issue 1 year ago • 0 comments

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.

pr9000 avatar Apr 22 '23 12:04 pr9000