and so we have femstache v0.1.11!
added:
- built-in functions show_int and show_bool, which turn the respective types into strings
- !x, x || y and x && y for bool
- ints, with the operations x + y, x - y, x * y, x / y
- {% for i in range x .. y %}
removed:
- truthiness is not a thing anymore, if statements only allow bool as a condition
codeberg: codeberg.org/lumi/femstache
crates: crates.io/crates/femstache
docs: docs.rs/femstache
if anyone would like to contribute, it'd be cool if someone could add more tests~
more built-in functions would be nice, as well, but do tell me before you start working on any
femstache 0.1.4 has in-memory template loading and escaping!
crates.io/crates/femstache
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.