1
0
mirror of https://github.com/lektor/lektor-website.git synced 2025-03-08 22:46:41 +01:00
David Baumgold 10296444df Close <li> tags
Because valid HTML is better than invalid HTML
2016-07-22 11:47:12 -04:00

23 lines
504 B
Markdown

title: <
---
summary: True if the left side is smaller than the right side.
---
type: operator
---
body:
This evaluates to true if the left side compares smaller than the right side
or equal to it. This behavior works best with [integers
:ref](../../types/integer/) or [floats :ref](../../types/float/).
## Template Example
```html+jinja
<h3>Projects From Before 2000</h3>
<ul>
{% for item in this.children.filter(F.year < 2000) %}
<li>{{ item.name }} ({{ item.year }})</li>
{% endfor %}
</ul>
```