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

Transformations (if/with etc) not applied to not (yet) parsed templates #5865

Closed
bep opened this issue Apr 15, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@bep
Copy link
Member

commented Apr 15, 2019

https://discourse.gohugo.io/t/error-what-to-replace-file-dir-with-in-hugo-book/18118/15

This isn't a new problem, but the WARNINGs we create for .File is making it more visible than before. I think this should be a rare problem, but I will add a patch for it for 0.55.2.

@bep bep added this to the v0.55.2 milestone Apr 15, 2019

@bep bep self-assigned this Apr 15, 2019

@bep bep changed the title Check if/else vs IsZero Check if/else in define vs IsZero Apr 16, 2019

bep added a commit to bep/hugo-book that referenced this issue Apr 16, 2019

Adjust .File usage to get rid of WARNINGs
Note that this requires this fix in Hugo 0.55.2:

gohugoio/hugo#5865

@bep bep added Bug and removed NeedsInvestigation labels Apr 16, 2019

@bep bep changed the title Check if/else in define vs IsZero Transformations (if/with etc) not applied to late templates Apr 16, 2019

bep added a commit to bep/hugo that referenced this issue Apr 16, 2019

bep added a commit to bep/hugo that referenced this issue Apr 16, 2019

@bep bep changed the title Transformations (if/with etc) not applied to late templates Transformations (if/with etc) not applied to not (yet) parsed templates Apr 16, 2019

bep added a commit to bep/hugo that referenced this issue Apr 16, 2019

alex-shpak added a commit to alex-shpak/hugo-book that referenced this issue Apr 16, 2019

Adjust .File usage to get rid of WARNINGs
Note that this requires this fix in Hugo 0.55.2:

gohugoio/hugo#5865

bep added a commit to bep/hugo that referenced this issue Apr 16, 2019

bep added a commit to bep/hugo that referenced this issue Apr 16, 2019

bep added a commit to bep/hugo that referenced this issue Apr 16, 2019

@bep bep closed this in #5866 Apr 16, 2019

bep added a commit that referenced this issue Apr 16, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.