mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-30 14:31:36 +00:00
12 lines
233 B
Rust
12 lines
233 B
Rust
use askama::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() {}
|