aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama/src/lib.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/askama/src/lib.rs b/askama/src/lib.rs
index fadd0b0..48ebea5 100644
--- a/askama/src/lib.rs
+++ b/askama/src/lib.rs
@@ -9,9 +9,10 @@
//!
//! # Creating Askama templates
//!
-//! An Askama template is just a text file, in the UTF-8 encoding.
-//! It can be used to generate any kind of text-based format.
-//! You can use whatever extension you like.
+//! An Askama template is a `struct` definition which provides the template
+//! context combined with a UTF-8 encoded text file (or inline source, see
+//! below). Askama can be used to generate any kind of text-based format.
+//! The template file's extension may can be used to provide content type hints.
//!
//! A template consists of **text contents**, which are passed through as-is,
//! **expressions**, which get replaced with content while being rendered, and