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
In the soon-to-be-released hugo v0.55 we have some WARNING about deprecated stuff :
.URL
.Permalink
.Hugo.Version
site.Hugo.Version
.Hugo.Generator
site.Hugo.Generator
.File.BaseFileName
+ {{ with .Page.File }} {{if eq .BaseFileName "_index"}} {{$.Scratch.Add "filesName" "files"}} {{else}} {{$.Scratch.Add "filesName" (printf "%s.files" .BaseFileName)}} {{end}} + {{ end }}
The text was updated successfully, but these errors were encountered:
@divinerites What is the fix for the .File.BaseFileName deprecation errors popping up for header.html and body-aftercontent.html?
header.html
body-aftercontent.html
{{ range where .Site.Pages "File.BaseFileName" $header }}
&&
{{ range where .Site.Pages "File.BaseFileName" $footer }}
Sorry, something went wrong.
#198 Fix some requirements for 0.55 some others need attention. Help was accepted to fix this theme
No branches or pull requests
In the soon-to-be-released hugo v0.55 we have some WARNING about deprecated stuff :
.URL
should be replaced by.Permalink
(global, except .URL from shortcut menu obv) - see Tip: Use Permalink/RelPermalink instead of URL #123 too..Hugo.Version
bysite.Hugo.Version
.Hugo.Generator
bysite.Hugo.Generator
.File.BaseFileName
)The text was updated successfully, but these errors were encountered: