-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Open
Labels
Milestone
Description
The current behaviour is correct, I guess, but 1. Makes it harder to prepare templates for a release with breaking changes and 2. Also makes it a little hard for people who build from source.
So, to handle the resources.GetRemote vs try, I want to do something like this:
{{ if ge hugo.Version "v0.141.0" }}
{{ else }}
{{ end }}That doesn't work, so I have to do:
{{ if lt hugo.Version "v0.140.2" }}
{{ else }}
{{ end }}The above will not be entirely correct if we release v0.141.0 and then do a patch release as v0.140.3.