hugo/helpers
Bjørn Erik Pedersen 0602135fd4
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
2018-02-22 09:15:12 +01:00
..
baseURL.go Add some missing doc comments 2017-08-03 15:57:51 +02:00
baseURL_test.go all: Propagate baseURL error to the callers 2017-03-27 15:43:56 +02:00
content.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
content_renderer.go helpers: Avoid unescape in highlight 2018-01-23 09:48:04 +01:00
content_renderer_test.go Reuse the BlackFriday instance when possible 2017-12-16 19:44:33 +01:00
content_test.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
emoji.go helpers: Use iterate operator by int in Emojify 2016-11-23 09:13:00 +01:00
emoji_test.go Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
general.go tpl/transform: Add template func for TOML/JSON/YAML docs examples conversion 2018-02-10 12:36:31 +01:00
general_test.go helpers: Avoid writing the last MD5 buff part twice 2017-12-28 22:52:27 +01:00
hugo.go Make ge, le etc. work with the Hugo Version number 2018-02-22 09:15:12 +01:00
hugo_test.go Make ge, le etc. work with the Hugo Version number 2018-02-22 09:15:12 +01:00
language.go Fix language params handling 2018-01-30 18:53:07 +01:00
language_test.go Fix language params handling 2018-01-30 18:53:07 +01:00
path.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
path_test.go Run gofmt -s with Go 1.10 2018-02-21 09:59:33 +01:00
pathspec.go Fix URLs for bundle resources in multihost mode 2018-01-06 10:29:13 +01:00
pathspec_test.go Fix URLs for bundle resources in multihost mode 2018-01-06 10:29:13 +01:00
processing_stats.go Run gofmt -s with Go 1.10 2018-02-21 09:59:33 +01:00
pygments.go Add table linenos support for Chroma highlighter 2017-10-14 16:00:27 +02:00
pygments_test.go Add table linenos support for Chroma highlighter 2017-10-14 16:00:27 +02:00
testhelpers_test.go Use Chroma as new default syntax highlighter 2017-09-25 08:59:02 +02:00
url.go Fix URLs for bundle resources in multihost mode 2018-01-06 10:29:13 +01:00
url_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00