mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-02 07:20:55 +00:00
12 lines
232 B
Rust
12 lines
232 B
Rust
use rinja::Template;
|
|
|
|
#[derive(Template)]
|
|
#[template(path = "transclude-there.html")]
|
|
struct Indirect;
|
|
|
|
#[derive(Template)]
|
|
#[template(source = r#"{% include "transclude-there.html" %}"#, ext = "html")]
|
|
struct Direct;
|
|
|
|
fn main() {}
|