1
0
mirror of https://github.com/Luzifer/mondash.git synced 2024-09-20 01:12:58 +00:00
mondash/vendor/github.com/flosch/pongo2/template_tests/widthratio.tpl
Knut Ahlers fd7056f82f
Switch to dep for vendoring, update libraries
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-22 21:39:52 +01:00

4 lines
195 B
Smarty

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