when using macros!() we need to import the things that they use

This commit is contained in:
Igor Galić
2020-01-27 23:45:09 +01:00
parent 45c335e17b
commit 022e037eea
6 changed files with 12 additions and 1 deletions
+4
View File
@@ -1,8 +1,12 @@
@use plume_models::CONFIG;
@use plume_models::instance::Instance;
@use rocket::http::RawStr;
@use rocket::request::Form;
@use std::path::Path;
@use std::path::PathBuf;
@use crate::template_utils::*;
@use crate::routes::*;
@use crate::routes::search::SearchQuery;
@(ctx: BaseContext, title: String, head: Content, header: Content, content: Content)