mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-02 15:25:19 +00:00
Strip documentation intro that duplicates the README
This commit is contained in:
parent
2543b34228
commit
5738ad3cef
@ -4,30 +4,8 @@
|
||||
//! This is done using a custom derive implementation (implemented
|
||||
//! in [`askama_derive`](https://crates.io/crates/askama_derive)).
|
||||
//!
|
||||
//! # Example template
|
||||
//!
|
||||
//! ```text
|
||||
//! {% extends "layout.html" %}
|
||||
//! {% block body %}
|
||||
//! <ul>
|
||||
//! {% for user in users %}
|
||||
//! <li><a href="{{ user.url }}">{{ user.username }}</a></li>
|
||||
//! {% endfor %}
|
||||
//! </ul>
|
||||
//! {% endblock %}
|
||||
//! ```
|
||||
//!
|
||||
//! # Feature highlights
|
||||
//!
|
||||
//! * Construct templates using a familiar, easy-to-use syntax
|
||||
//! * Benefit from the safety provided by Rust's type system
|
||||
//! * Optional built-in support for Rocket and Iron web frameworks
|
||||
//! * Template code is compiled into your crate for optimal performance
|
||||
//! * Templates only convert your data as needed
|
||||
//! * Templates can access your Rust types directly, according to Rust's privacy rules
|
||||
//! * Debugging features to assist you in template development
|
||||
//! * Templates must be valid UTF-8 and produce UTF-8 when rendered
|
||||
//! * Works on stable Rust
|
||||
//! For feature highlights and a quick start, please review the
|
||||
//! [README](https://github.com/djc/askama/blob/master/README.md).
|
||||
//!
|
||||
//! # Creating Askama templates
|
||||
//!
|
||||
|
Loading…
x
Reference in New Issue
Block a user