You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
I believe the version splitting serves no purpose in base.html and should be corrected and moved to welcome.html (the only place I've seen it used after a cursory search)
The text was updated successfully, but these errors were encountered:
I'm attempting to debug an issue with the/my page based on the
welcome
layout.I noticed a lot of code checking
major
andminor
but when debugging I found those values were blank.I discovered where this is set (
_layout/base.html
) and I believe there are two issues here:split
is assigned to version, but the next steps rely onv[x]
I believe you need to replace:
with
Looking into things a little further, I don't think the scope of
assign
propagates outsidebase.html
sowhich is trying to make use of major/minor/patch is essentially working with null values and alwys falling through to the
else
condition.Ref: jekyll/jekyll#4370
I believe the version splitting serves no purpose in
base.html
and should be corrected and moved towelcome.html
(the only place I've seen it used after a cursory search)The text was updated successfully, but these errors were encountered: