mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-02 15:25:19 +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() {}
|