struct
App
pub struct App {
pub pages: Vec<Page>,
pub layouts: Vec<Unit>,
pub components: Vec<Unit>,
pub not_found: Option<Unit>,
pub template: String,
pub mode: String,
pub base: String,
pub remote_origins: BTreeSet<String>,
}Everything in app/ and components/.
Fields
remote_origins
pub remote_origins: BTreeSet<String>The other sites the templates load data from (src, load and get), as scheme://host[:port]: where the relay may forward.