mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-29 05:51:32 +00:00
17 lines
305 B
Rust
17 lines
305 B
Rust
use rinja::Template;
|
|
|
|
#[derive(Template)]
|
|
#[template(path = "invalid_syntax.html")]
|
|
struct A;
|
|
|
|
#[derive(Template)]
|
|
#[template(path = "include_invalid_syntax.html")]
|
|
struct B;
|
|
|
|
#[derive(Template)]
|
|
#[template(source = r#"{% extends "include_invalid_syntax.html" %}"#, ext = "txt")]
|
|
struct C;
|
|
|
|
fn main() {
|
|
}
|