diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-02-22 09:15:12 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-02-22 09:15:12 +0100 |
commit | 0602135fd44b0cfa0a51b0ec6e451ae58ac95666 (patch) | |
tree | bb045df0360b26dbacf682fa227d5d4e18d57bdc /docs/netlify.toml | |
parent | 55bd46a633d68f62e131457631ba839d6f876a55 (diff) |
Make ge, le etc. work with the Hugo Version number
This means that you can do something ala:
```html
{{ if ge .Hugo.Version "0.36" }}Reasonable new Hugo version!{{ end }}
```
The intented use is feature toggling, but please note that it will take some time and Hugo versions until this can be trusted. It does not work in older Hugo versions.
Fixes #4443
Diffstat (limited to 'docs/netlify.toml')
0 files changed, 0 insertions, 0 deletions