github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/libraries/flosch/pongo2.v3/template_tests/widthratio.tpl (about)

     1  {# Tip: In pongo2 you can easily use arithmetic expressions like value/100.0, but widthratio is supported as well #}
     2  {% widthratio 175 200 100 %}
     3  {% widthratio 175 200 100 as width %}
     4  {{ width }}