Odin Ugedal 0668fba7bd Add support for logarithm in templates (#10824)
* Add support for logarithm in templates

This adds a 'log' filter that takes the logarithm of the given value,
with an optional base number. The base defaults to 'e' - the natural
logarithm

* Remove usage of log10 in template filter 'log'

* Add logarithm as a global

This makes it possible to write:
'{{ log(4, 2) }}'
2017-11-27 21:29:01 -08:00
..
2016-03-09 11:15:04 +01:00
2017-03-30 00:50:53 -07:00
2016-09-27 21:29:55 -07:00
2017-11-03 14:19:36 +01:00
2017-10-10 22:26:03 +02:00
2016-10-30 22:18:53 +01:00
2016-10-30 22:18:53 +01:00