aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar yossyJ <28825627+yossyJ@users.noreply.github.com>2019-01-09 20:47:47 +0900
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2019-01-09 13:10:07 +0100
commit0876c8e5d6e983d50e8be2fd4d366da2123c810a (patch)
tree1823c51c3b9cae9aeacfb9e1c46c32c7ff9a3e50
parent10277d739cae2b98b6629b52c64664bb2975e366 (diff)
downloadaskama-0876c8e5d6e983d50e8be2fd4d366da2123c810a.tar.gz
askama-0876c8e5d6e983d50e8be2fd4d366da2123c810a.tar.bz2
askama-0876c8e5d6e983d50e8be2fd4d366da2123c810a.zip
Add loop.last to the document
Diffstat (limited to '')
-rw-r--r--askama/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/askama/src/lib.rs b/askama/src/lib.rs
index 725c3de..e613f50 100644
--- a/askama/src/lib.rs
+++ b/askama/src/lib.rs
@@ -280,6 +280,7 @@
//! * *loop.index*: current loop iteration (starting from 1)
//! * *loop.index0*: current loop iteration (starting from 0)
//! * *loop.first*: whether this is the first iteration of the loop
+//! * *loop.last*: whether this is the last iteration of the loop
//!
//! ### If
//!