hugo/hugolib
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
..
testdata
404_test.go
alias.go
alias_test.go
author.go
case_insensitive_test.go
config.go hugolib: Deprecate useModTimeAsFallback 2018-01-29 13:52:04 +01:00
config_test.go
datafiles_test.go Add support for YAML array data files 2018-02-12 17:14:40 +01:00
disableKinds_test.go
embedded_shortcodes_test.go Add "target" and "rel" parameters to figure shortcode 2018-02-09 22:27:58 +01:00
fileInfo.go Fix handling of top-level page bundles 2018-01-27 19:13:34 +01:00
fileInfo_test.go
gitinfo.go
hugo_info.go Make ge, le etc. work with the Hugo Version number 2018-02-22 09:15:12 +01:00
hugo_info_test.go Make ge, le etc. work with the Hugo Version number 2018-02-22 09:15:12 +01:00
hugo_sites.go Run gofmt -s with Go 1.10 2018-02-21 09:59:33 +01:00
hugo_sites_build.go Add headless bundle support 2018-01-24 09:00:21 +01:00
hugo_sites_build_test.go Fix language params handling 2018-01-30 18:53:07 +01:00
hugo_sites_multihost_test.go
hugolib.debug
media.go
menu.go hugolib: Remove unused code 2018-01-25 17:14:03 +01:00
menu_test.go
multilingual.go Fix language params handling 2018-01-30 18:53:07 +01:00
node_as_page_test.go
page.go Fix handling of top-level page bundles 2018-01-27 19:13:34 +01:00
page_bundler.go
page_bundler_capture.go Add a way to disable one or more languages 2018-01-26 14:04:14 +01:00
page_bundler_capture_test.go Fix handling of top-level page bundles 2018-01-27 19:13:34 +01:00
page_bundler_handlers.go hugolib: Remove unused code 2018-01-25 17:14:03 +01:00
page_bundler_test.go Fix handling of top-level page bundles 2018-01-27 19:13:34 +01:00
page_collections.go hugolib: Remove unused code 2018-01-25 17:14:03 +01:00
page_collections_test.go
page_output.go hugolib: Improve error message in .Render 2018-02-13 09:01:47 +01:00
page_paths.go Remove and update deprecation status 2018-01-25 10:22:11 +01:00
page_paths_test.go
page_permalink_test.go
page_resource.go
page_taxonomy_test.go
page_test.go hugolib: Fix broken footnote test 2018-02-21 09:25:32 +01:00
page_time_integration_test.go
pageCache.go
pageCache_test.go
pageGroup.go
pageGroup_test.go
pages_related.go
pages_related_test.go
pageSort.go
pageSort_test.go
pagesPrevNext.go
pagesPrevNext_test.go
pagination.go
pagination_test.go
path_separators_test.go
permalinker.go
permalinks.go
permalinks_test.go
prune_resources.go
robotstxt_test.go
rss_test.go
scratch.go
scratch_test.go
shortcode.go
shortcode_test.go Add "target" and "rel" parameters to figure shortcode 2018-02-09 22:27:58 +01:00
shortcodeparser.go
shortcodeparser_test.go
site.go Add support for YAML array data files 2018-02-12 17:14:40 +01:00
site_benchmark_test.go Add a GetPage to the site benchmarks 2018-01-24 09:08:26 +01:00
site_output.go Remove and update deprecation status 2018-01-25 10:22:11 +01:00
site_output_test.go
site_render.go hugolib: Extract the Fast Render Mode logic into a method 2018-01-30 10:49:24 +01:00
site_sections.go
site_sections_test.go
site_stats_test.go
site_test.go hugolib: Remove unused code 2018-01-25 17:14:03 +01:00
site_url_test.go
siteJSONEncode_test.go
sitemap.go
sitemap_test.go
taxonomy.go
taxonomy_test.go
template_engines_test.go
template_test.go hugolib: Add additional test to TestTemplateLookupOrder 2018-02-05 08:38:04 +01:00
testhelpers_test.go
translations.go