-
Notifications
You must be signed in to change notification settings - Fork 811
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
Fix feature shortcode for Hugo #655
Fix feature shortcode for Hugo #655
Conversation
Build Succeeded 👏 Build Id: 311a060e-858b-4e4f-a73f-2e1e689c1939 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
d356422
to
6f8ae99
Compare
By default if we access element over the list length we would get 0 - and this would make shortcode work even for
|
Build Succeeded 👏 Build Id: ba1e0851-a3d2-496d-afb9-e88ab6229b60 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
6f8ae99
to
74dd7e4
Compare
Build Succeeded 👏 Build Id: ebfa7498-112b-4fcf-aa1f-5219bcad8812 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
Algorithm for splitting string by dots and comparing major, minor version one by one separately. There is no break statement for range loop, that's why added special handling for that case.
74dd7e4
to
02356ab
Compare
Build Succeeded 👏 Build Id: 550b10f9-0d42-46c1-afa8-b4ee5bf408f5 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work 👍
Algorithm for splitting version strings by dots and comparing major, minor versions one by one separately. There is no break statement for range loop in Hugo functions, that's why added special handling for that case.
Closes #650 .