blob: 55c8b56dabab296091106b99e7431c9e3c7e5cdb (
plain) (
tree)
|
|
use askama::Template;
#[derive(Template)]
#[template(
source = r#"{%- extends "whatever.html" %}"#,
ext = "html"
)]
struct ExtendsPre;
#[derive(Template)]
#[template(
source = r#"{% extends "whatever.html" -%}"#,
ext = "html"
)]
struct ExtendsPost;
fn main() {
}
|