aboutsummaryrefslogtreecommitdiffstats
path: root/askama_test/tests/simple.rs
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2016-12-22 16:20:13 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2016-12-22 16:20:13 +0100
commit062500ef0c4b586dfe0a7e9508f0b11d4fd55703 (patch)
treeab7d3c76aa9b6589d1bb9568384963a94ffb3107 /askama_test/tests/simple.rs
parente619345766e98578929061e566178010c171df48 (diff)
downloadaskama-062500ef0c4b586dfe0a7e9508f0b11d4fd55703.tar.gz
askama-062500ef0c4b586dfe0a7e9508f0b11d4fd55703.tar.bz2
askama-062500ef0c4b586dfe0a7e9508f0b11d4fd55703.zip
Attempt at grabbing template source from file
Diffstat (limited to '')
-rw-r--r--askama_test/tests/simple.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/askama_test/tests/simple.rs b/askama_test/tests/simple.rs
index f7beb80..67bb126 100644
--- a/askama_test/tests/simple.rs
+++ b/askama_test/tests/simple.rs
@@ -7,6 +7,7 @@ extern crate askama;
use askama::Template;
#[derive(Template)]
+#[template(path = "simple.html")]
struct TestTemplate {
var: String,
}